Fix segfault on exit cause by creatures not being cleared.

This commit is contained in:
otfallen 2012-09-17 02:15:46 +00:00
parent bfa0844de1
commit a40594752d
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ void OTClient::init(const std::vector<std::string>& args)
void OTClient::terminate() void OTClient::terminate()
{ {
g_creatures.clear();
g_game.terminate(); g_game.terminate();
g_map.terminate(); g_map.terminate();
g_things.terminate(); g_things.terminate();