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>2011-05-06 18:27:55 +0000
committerStijn Buys <ingar@osirion.org>2011-05-06 18:27:55 +0000
commit50947891a97f19fa11f9f073c8988156f9655d97 (patch)
tree2373dd39d70edd7995210aabb6973315465ba737 /src/core/gameserver.cc
parente7a0b54c4717afdfa12a8847d5bc72b7b68290b4 (diff)
Support for func_rotate and func_move collision meshes.
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r--src/core/gameserver.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc
index 564622f..6a20317 100644
--- a/src/core/gameserver.cc
+++ b/src/core/gameserver.cc
@@ -549,10 +549,8 @@ void GameServer::frame(unsigned long timestamp)
for (Entity::Registry::iterator it = Entity::registry().begin(); it != Entity::registry().end(); it++) {
Entity *entity = (*it).second;
- if ((entity->type() == Entity::Dynamic) || (entity->type() == Entity::Controlable)) {
- entity->frame(elapsed);
-
- }
+ entity->frame(elapsed);
+
}
// expand zone keepalive bounding box