diff options
Diffstat (limited to 'engines/avalanche/graphics.cpp')
-rw-r--r-- | engines/avalanche/graphics.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp index f23ef2a78c..4b8d667fbf 100644 --- a/engines/avalanche/graphics.cpp +++ b/engines/avalanche/graphics.cpp @@ -60,11 +60,6 @@ GraphicManager::~GraphicManager() { _scrolls.free(); _backup.free(); - _nimStone.free(); - for (int i = 0; i < 3; i++) - _nimInitials[i].free(); - _nimLogo.free(); - for (int i = 0; i < 10; i++) _digits[i].free(); for (int i = 0; i < 9; i++) @@ -494,6 +489,13 @@ void GraphicManager::nimDrawLogo() { drawPicture(_surface, _nimLogo, 392, 5); } +void GraphicManager::nimFree() { + _nimStone.free(); + for (int i = 0; i < 3; i++) + _nimInitials[i].free(); + _nimLogo.free(); +} + /** * This function mimics Pascal's getimage(). */ |