Fix creatures not being cleared at exit (caused a segfault).
Signed-off-by: otfallen <f.fallen45@gmail.com>
This commit is contained in:
parent
054938af90
commit
68d2347ee5
|
@ -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