diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 61fa255..f3b5828 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
@@ -6,5 +6,13 @@ Game::Game() | |||
6 | 6 | ||
7 | Game::~Game() | 7 | Game::~Game() |
8 | { | 8 | { |
9 | for( FunctionHash::iterator i = hFunction.begin(); i; i++ ) | ||
10 | { | ||
11 | delete (*i); | ||
12 | } | ||
13 | for( SituationHash::iterator i = hSituation.begin(); i; i++ ) | ||
14 | { | ||
15 | delete (*i); | ||
16 | } | ||
9 | } | 17 | } |
10 | 18 | ||