diff options
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r-- | src/core/entity.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc index e76f254..89c78d8 100644 --- a/src/core/entity.cc +++ b/src/core/entity.cc @@ -1505,23 +1505,5 @@ void EntityControlable::action(btScalar seconds) { } -// osirion game frame (runs at osirion server framerate) -void EntityControlable::frame(const unsigned long elapsed) -{ - EntityDynamic::frame(elapsed); - - // update zone keepalive bounding box - if (owner() && (owner()->control() == this) && zone()) { - - // add player controlable to keepalive bounding box - if (!zone()->keepalive_run()) { - zone()->keepalive_box().assign(location()); - zone()->set_keepalive_run(true); - } else { - zone()->keepalive_box().expand(location()); - } - } -} - } //namespace core |