aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-02-16 22:02:17 -0500
committerPaul Gilbert2017-02-16 22:02:17 -0500
commitcb9ebfcb1c1e96194d6e9389b61b7cb802f0b7a6 (patch)
tree85801bff05d15dc0f61665f5d70ae58b259dac4e /engines
parent314c795d21ce1e67f8b3a73179b8042bc2e64487 (diff)
downloadscummvm-rg350-cb9ebfcb1c1e96194d6e9389b61b7cb802f0b7a6.tar.gz
scummvm-rg350-cb9ebfcb1c1e96194d6e9389b61b7cb802f0b7a6.tar.bz2
scummvm-rg350-cb9ebfcb1c1e96194d6e9389b61b7cb802f0b7a6.zip
TITANIC: Fix compiler warning
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/sound/music_room_instrument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/sound/music_room_instrument.cpp b/engines/titanic/sound/music_room_instrument.cpp
index 5e7bd9bb8c..b92329850b 100644
--- a/engines/titanic/sound/music_room_instrument.cpp
+++ b/engines/titanic/sound/music_room_instrument.cpp
@@ -234,7 +234,7 @@ void CMusicRoomInstrument::update(int val) {
double tempVal = 46.0 - ((double)(val - 14) * 1.43);
int frameNum = _field4C;
- int frameNum1 = (tempVal - frameNum) * 0.25;
+ int frameNum1 = (int)((tempVal - frameNum) * 0.25);
_gameObjects[1]->playMovie(frameNum1, frameNum1, MOVIE_STOP_PREVIOUS);
frameNum += frameNum1;