From 1ff8b69d26bc9563a813b8533417a2822ce0e125 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 28 Apr 2009 01:47:19 -0400 Subject: Also clear the associated map and matrix when clearing other things --- sigmod/Game.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sigmod/Game.cpp b/sigmod/Game.cpp index 3ee95120..da160594 100644 --- a/sigmod/Game.cpp +++ b/sigmod/Game.cpp @@ -602,4 +602,6 @@ void Game::clear() SUBCLASS_CLEAR(trainers); SUBCLASS_CLEAR(types); SUBCLASS_CLEAR(weathers); + m_mapPosition.clear(); + m_typechart.clear(); } -- cgit