aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinterGrascph2016-05-04 11:23:52 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit66c55db9f056a1c5c74e82e84650ac7fbbe4d899 (patch)
tree9698e85e58e50a7284a49dc5799f243e62ddaf90
parentb7987d84c1de7c7f6c40b9995026009058d43ab3 (diff)
downloadscummvm-rg350-66c55db9f056a1c5c74e82e84650ac7fbbe4d899.tar.gz
scummvm-rg350-66c55db9f056a1c5c74e82e84650ac7fbbe4d899.tar.bz2
scummvm-rg350-66c55db9f056a1c5c74e82e84650ac7fbbe4d899.zip
DM: Fix typos and whitespace
-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");