Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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