Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-04 21:40:20 +0000
committerStijn Buys <ingar@osirion.org>2013-11-04 21:40:20 +0000
commita045ea4846861404ee26c0d077ea639c1987a8cb (patch)
tree3338eced9df04ca0c6645f9bd7fcb827c67e3437 /src/core/entity.cc
parent5f74a6b0f3e84ec00e68cda63da6e66df33a8149 (diff)
Improved zone keepalive updates.
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc18
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