aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/adl/hires4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/adl/hires4.cpp b/engines/adl/hires4.cpp
index df71e2ecef..ef1b1846d0 100644
--- a/engines/adl/hires4.cpp
+++ b/engines/adl/hires4.cpp
@@ -157,7 +157,7 @@ void HiRes4Engine::drawText(const Common::String &str, Common::SeekableReadStrea
if (shouldQuit())
return;
- Common::Point pos(ht * 7, vt * 7.7);
+ Common::Point pos((int16)(ht * 7), (int16)(vt * 7.7f));
drawChar(99, shapeTable, pos);