[Scummvm-cvs-logs] scummvm master -> e54568b889e53056f716a2999cb755147b77fefe
bgK
bastien.bouclet at gmail.com
Mon Feb 22 09:24:47 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e54568b889 MOHAWK: Silence a warning
Commit: e54568b889e53056f716a2999cb755147b77fefe
https://github.com/scummvm/scummvm/commit/e54568b889e53056f716a2999cb755147b77fefe
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2016-02-22T09:23:34+01:00
Commit Message:
MOHAWK: Silence a warning
Changed paths:
engines/mohawk/myst_stacks/mechanical.cpp
diff --git a/engines/mohawk/myst_stacks/mechanical.cpp b/engines/mohawk/myst_stacks/mechanical.cpp
index 20d01f5..3214c64 100644
--- a/engines/mohawk/myst_stacks/mechanical.cpp
+++ b/engines/mohawk/myst_stacks/mechanical.cpp
@@ -1003,9 +1003,9 @@ void Mechanical::fortressSimulation_run() {
_fortressSimulationHoloRate = newRate;
if (_fortressSimulationHoloRate < 0) {
- uint32 newMoviePosition = moviePosition + _fortressSimulationHoloRate * 10;
+ double newMoviePosition = moviePosition + _fortressSimulationHoloRate * 10;
holo->setRate(0);
- holo->seek(Audio::Timestamp(0, newMoviePosition, 600));
+ holo->seek(Audio::Timestamp(0, (uint)newMoviePosition, 600));
} else {
holo->setRate(Common::Rational((int)(newRate * 1000.0), 1000));
}
More information about the Scummvm-git-logs
mailing list