diff options
author | Walter van Niftrik | 2018-12-26 14:42:18 +0100 |
---|---|---|
committer | Walter van Niftrik | 2018-12-26 14:42:18 +0100 |
commit | 112d60d1d1afe4dd17878b8c90d34c4282fac12b (patch) | |
tree | 0b4012cfab37182ffec9a8d649853f54a1610de7 /engines/adl | |
parent | 17a74d2bc791aa392cd1b170dd7ef0fecea403e7 (diff) | |
download | scummvm-rg350-112d60d1d1afe4dd17878b8c90d34c4282fac12b.tar.gz scummvm-rg350-112d60d1d1afe4dd17878b8c90d34c4282fac12b.tar.bz2 scummvm-rg350-112d60d1d1afe4dd17878b8c90d34c4282fac12b.zip |
ADL: Silence float conversion warning
Diffstat (limited to 'engines/adl')
-rw-r--r-- | engines/adl/hires4.cpp | 2 |
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); |