aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise')
-rw-r--r--engines/cruise/actor.cpp3
-rw-r--r--engines/cruise/sound.cpp6
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/cruise/actor.cpp b/engines/cruise/actor.cpp
index 7d5c16c3d2..84a8d4e734 100644
--- a/engines/cruise/actor.cpp
+++ b/engines/cruise/actor.cpp
@@ -433,7 +433,8 @@ void chemin0(int depart, int arrivee) {
for (int i = 0; i < 20 + 1; i++)
fl[i] = -1;
- X = 0, Y = 30;
+ X = 0;
+ Y = 30;
explore(depart, arrivee);
}
diff --git a/engines/cruise/sound.cpp b/engines/cruise/sound.cpp
index b477dcdf9c..57dcfcea8f 100644
--- a/engines/cruise/sound.cpp
+++ b/engines/cruise/sound.cpp
@@ -41,7 +41,11 @@ class PCSoundDriver {
public:
typedef void (*UpdateCallback)(void *);
- PCSoundDriver() { _upCb = NULL, _upRef = NULL, _musicVolume = 0, _sfxVolume = 0; }
+ PCSoundDriver() :
+ _upCb(nullptr),
+ _upRef(nullptr),
+ _musicVolume(0),
+ _sfxVolume(0) {}
virtual ~PCSoundDriver() {}
virtual void setupChannel(int channel, const byte *data, int instrument, int volume) = 0;