diff options
author | Matthew Hoops | 2014-09-28 15:21:30 -0400 |
---|---|---|
committer | Matthew Hoops | 2014-09-28 15:29:49 -0400 |
commit | 9075bd71cd2f306095a8be0ffb6e3521ba53b6be (patch) | |
tree | 8c1473c18f95f8eb7b9d0d1bb6429c2317b2bafa /engines/fullpipe | |
parent | 8e0e03c8ba15894fb048bdd66352fd8cf0a3746e (diff) | |
download | scummvm-rg350-9075bd71cd2f306095a8be0ffb6e3521ba53b6be.tar.gz scummvm-rg350-9075bd71cd2f306095a8be0ffb6e3521ba53b6be.tar.bz2 scummvm-rg350-9075bd71cd2f306095a8be0ffb6e3521ba53b6be.zip |
FULLPIPE: Silence a gcc warning
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/scenes/scene27.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene27.cpp b/engines/fullpipe/scenes/scene27.cpp index 1431ceffba..8ec05caaff 100644 --- a/engines/fullpipe/scenes/scene27.cpp +++ b/engines/fullpipe/scenes/scene27.cpp @@ -340,7 +340,7 @@ void sceneHandler27_wipeDo() { bool sceneHandler27_batFallLogic(uint batn) { Bat *bat = g_vars->scene27_bats[batn]; - int y = (bat->currY - 458.0) * 0.4848484848484849 + 734.0; + int y = (int)((bat->currY - 458.0) * 0.4848484848484849 + 734.0); if (y >= bat->currX) return false; |