diff options
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r-- | src/core/gameserver.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc index 5ea6206..7d6fc96 100644 --- a/src/core/gameserver.cc +++ b/src/core/gameserver.cc @@ -130,7 +130,8 @@ GameServer::GameServer() : GameInterface() server_maxplayerid = 1; server_startup = application()->timestamp(); - Parser::init(); + // create the default infotype for entities + Entity::set_infotype(new InfoType("entity")); Physics::init(); @@ -237,7 +238,7 @@ GameServer::~GameServer() Physics::done(); - Parser::done(); + Entity::set_infotype(0); server_instance = 0; } |