[Scummvm-git-logs] scummvm master -> 112d60d1d1afe4dd17878b8c90d34c4282fac12b
waltervn
walter at vanniftrik-it.nl
Wed Dec 26 14:47:32 CET 2018
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:
112d60d1d1 ADL: Silence float conversion warning
Commit: 112d60d1d1afe4dd17878b8c90d34c4282fac12b
https://github.com/scummvm/scummvm/commit/112d60d1d1afe4dd17878b8c90d34c4282fac12b
Author: Walter van Niftrik (walter at scummvm.org)
Date: 2018-12-26T14:42:18+01:00
Commit Message:
ADL: Silence float conversion warning
Changed paths:
engines/adl/hires4.cpp
diff --git a/engines/adl/hires4.cpp b/engines/adl/hires4.cpp
index df71e2e..ef1b184 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);
More information about the Scummvm-git-logs
mailing list