aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-01-03 18:45:04 +0000
committerMatthew Hoops2011-01-03 18:45:04 +0000
commitdef3c562cbbf1a4e7c55375458ba2e007615fd65 (patch)
treebdab340892c9c6081bbe426007b9ec0321f336dd
parent3344d1b5aa7087f38e0b629be3810606458c5a22 (diff)
downloadscummvm-rg350-def3c562cbbf1a4e7c55375458ba2e007615fd65.tar.gz
scummvm-rg350-def3c562cbbf1a4e7c55375458ba2e007615fd65.tar.bz2
scummvm-rg350-def3c562cbbf1a4e7c55375458ba2e007615fd65.zip
MOHAWK: Silence a gcc warning
svn-id: r55106
-rw-r--r--engines/mohawk/myst_stacks/myst.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index 6a9c92549c..58354f7568 100644
--- a/engines/mohawk/myst_stacks/myst.cpp
+++ b/engines/mohawk/myst_stacks/myst.cpp
@@ -3090,7 +3090,7 @@ void MystScriptParser_Myst::observatoryUpdateVisualizer(uint16 x, uint16 y) {
}
void MystScriptParser_Myst::observatorySetTargetToSetting() {
- uint32 visuX = _state.observatoryTimeSetting * 0.28;
+ uint32 visuX = (uint16)(_state.observatoryTimeSetting * 0.28);
uint32 visuY = 250 * _state.observatoryYearSetting
+ 65 * (_state.observatoryMonthSetting + 1)
+ 20 * _state.observatoryDaySetting;