mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
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…
x
Reference in New Issue
Block a user