aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gnap')
-rw-r--r--engines/gnap/gnap.cpp3
-rw-r--r--engines/gnap/scenes/group4.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/gnap/gnap.cpp b/engines/gnap/gnap.cpp
index 6a03bf8eb0..809e711e4f 100644
--- a/engines/gnap/gnap.cpp
+++ b/engines/gnap/gnap.cpp
@@ -91,9 +91,10 @@ static const char *kSceneNames[] = {
GnapEngine::GnapEngine(OSystem *syst, const ADGameDescription *gd) :
Engine(syst), _gameDescription(gd) {
- _random = new Common::RandomSource("gnap");
DebugMan.addDebugChannel(kDebugBasic, "basic", "Basic debug level");
+ _random = new Common::RandomSource("gnap");
+
Engine::syncSoundSettings();
_exe = nullptr;
diff --git a/engines/gnap/scenes/group4.cpp b/engines/gnap/scenes/group4.cpp
index f37be2c25d..814588d9ba 100644
--- a/engines/gnap/scenes/group4.cpp
+++ b/engines/gnap/scenes/group4.cpp
@@ -2691,7 +2691,7 @@ void Scene46::run() {
case kHS46WalkArea1:
if (gnap._actionStatus < 0)
gnap.walkTo(Common::Point(-1, -1), -1, -1, 1);
- break;
+ break;
}
}