Fix creatures not being cleared at exit (caused a segfault).

Signed-off-by: otfallen <f.fallen45@gmail.com>
master
otfallen 12 years ago
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…
Cancel
Save