summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-04-28 01:47:19 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-04-28 01:47:19 -0400
commit1ff8b69d26bc9563a813b8533417a2822ce0e125 (patch)
treef94ad032423d91cf19975d29fb063fa80c228cdf
parentffd42ba8bbb95e450c89b6734778eb75d08ad377 (diff)
downloadsigen-1ff8b69d26bc9563a813b8533417a2822ce0e125.tar.gz
sigen-1ff8b69d26bc9563a813b8533417a2822ce0e125.tar.xz
sigen-1ff8b69d26bc9563a813b8533417a2822ce0e125.zip
Also clear the associated map and matrix when clearing other things
-rw-r--r--sigmod/Game.cpp2
1 files changed, 2 insertions, 0 deletions
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();
}