Fix segfault on exit cause by creatures not being cleared.
This commit is contained in:
parent
bfa0844de1
commit
a40594752d
|
@ -79,6 +79,7 @@ void OTClient::init(const std::vector<std::string>& args)
|
|||
|
||||
void OTClient::terminate()
|
||||
{
|
||||
g_creatures.clear();
|
||||
g_game.terminate();
|
||||
g_map.terminate();
|
||||
g_things.terminate();
|
||||
|
|
Loading…
Reference in New Issue