aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/iterator/songlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/iterator/songlib.cpp')
-rw-r--r--engines/sci/sfx/iterator/songlib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sfx/iterator/songlib.cpp b/engines/sci/sfx/iterator/songlib.cpp
index 657e52017d..b5ce9c34ac 100644
--- a/engines/sci/sfx/iterator/songlib.cpp
+++ b/engines/sci/sfx/iterator/songlib.cpp
@@ -33,7 +33,7 @@ namespace Sci {
#define debug_stream stderr
-Song::Song() {
+Song::Song() : _wakeupTime(0, SFX_TICKS_PER_SEC) {
_handle = 0;
_resourceNum = 0;
_priority = 0;
@@ -53,7 +53,7 @@ Song::Song() {
_nextStopping = NULL;
}
-Song::Song(SongHandle handle, SongIterator *it, int priority) {
+Song::Song(SongHandle handle, SongIterator *it, int priority) : _wakeupTime(0, SFX_TICKS_PER_SEC) {
_handle = handle;
_resourceNum = 0;
_priority = priority;