aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/nim.cpp
diff options
context:
space:
mode:
authoruruk2013-12-21 19:09:57 +0100
committeruruk2013-12-21 19:09:57 +0100
commiteeca348953d851d11f98b9b78d9bba0043937614 (patch)
tree098fb3fd4aff90d7e1d8db86fb504f220de4d2d1 /engines/avalanche/nim.cpp
parent439817d42ee75c30a1de9a3817f38360fef5a40d (diff)
downloadscummvm-rg350-eeca348953d851d11f98b9b78d9bba0043937614.tar.gz
scummvm-rg350-eeca348953d851d11f98b9b78d9bba0043937614.tar.bz2
scummvm-rg350-eeca348953d851d11f98b9b78d9bba0043937614.zip
AVALANCHE: Move freeing of the used surfaces in Nim to a better place.
Diffstat (limited to 'engines/avalanche/nim.cpp')
-rw-r--r--engines/avalanche/nim.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/avalanche/nim.cpp b/engines/avalanche/nim.cpp
index 6b36ab8b17..be32f7cf3a 100644
--- a/engines/avalanche/nim.cpp
+++ b/engines/avalanche/nim.cpp
@@ -424,6 +424,8 @@ void Nim::endOfGame() {
}
}
}
+
+ _vm->_graphics->nimFree();
}
bool Nim::find(byte x) {