diff options
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r-- | src/core/gameserver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc index f9cc061..579f65d 100644 --- a/src/core/gameserver.cc +++ b/src/core/gameserver.cc @@ -641,7 +641,7 @@ void GameServer::frame(const unsigned long timestamp) for (Entity::Registry::iterator it = Entity::registry().begin(); it != Entity::registry().end(); it++) { Entity *entity = (*it).second; Zone *zone = entity->zone(); - if (zone && entity->flag_is_set(Entity::KeepAlive)) { + if (zone && entity->has_flag(Entity::KeepAlive)) { if (zone->keepalive_run() && zone->keepalive_box().inside(entity->location())) { entity->set_keepalive(this->timestamp()); |