aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-18 19:18:14 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitfb14fea01419f43ac56c11d443f98216fc3bd2ae (patch)
tree9cb1848b45262affe1ab1c5aa854311c70b198f5 /engines/dm/dm.cpp
parentbcb067698efe6e18be02a23eb48499ed8e0e714f (diff)
downloadscummvm-rg350-fb14fea01419f43ac56c11d443f98216fc3bd2ae.tar.gz
scummvm-rg350-fb14fea01419f43ac56c11d443f98216fc3bd2ae.tar.bz2
scummvm-rg350-fb14fea01419f43ac56c11d443f98216fc3bd2ae.zip
DM: Make thumbnail capture the dungeon
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index 655fb09c4f..08bfb5869d 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -59,6 +59,7 @@
#include <graphics/cursorman.h>
#include <advancedDetector.h>
#include "sounds.h"
+#include <graphics/surface.h>
namespace DM {
void warning(bool repeat, const char* s, ...) {
@@ -202,6 +203,8 @@ DMEngine::DMEngine(OSystem *syst, const ADGameDescription *desc) : Engine(syst),
_g562_entranceDoorAnimSteps[i] = nullptr;
_g564_interfaceCredits = nullptr;
debug("DMEngine::DMEngine");
+
+ _saveThumbnail = nullptr;
}
DMEngine::~DMEngine() {
@@ -225,7 +228,7 @@ DMEngine::~DMEngine() {
delete _dialog;
delete _sound;
-
+ delete _saveThumbnail;
delete[] _savedScreenForOpenEntranceDoors;
// clear debug channels