aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dm/dm.cpp2
-rw-r--r--engines/dm/dungeonman.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index 24ebfbfff6..aac8336581 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -27,7 +27,7 @@ DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) {
//SearchMan.addSubDirectoryMatching(gameDataDir, "example2");
DebugMan.addDebugChannel(kDMDebugExample, "example", "example desc");
- // regiser random source
+ // register random source
_rnd = new Common::RandomSource("quux");
debug("DMEngine::DMEngine");
diff --git a/engines/dm/dungeonman.cpp b/engines/dm/dungeonman.cpp
index 6ddf966eb9..292ca023e7 100644
--- a/engines/dm/dungeonman.cpp
+++ b/engines/dm/dungeonman.cpp
@@ -4,7 +4,11 @@
namespace DM {
DungeonMan::DungeonMan(DMEngine *dmEngine) : _vm(dmEngine), _dungeonDataSize(0), _dungeonData(NULL) {}
-DungeonMan::~DungeonMan() { delete[] _dungeonData; }
+
+DungeonMan::~DungeonMan() {
+ delete[] _dungeonData;
+}
+
void DungeonMan::loadDungeonFile() {
Common::File f;
f.open("Dungeon.dat");