Skip to content

Commit

Permalink
ADL: Silence float conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
waltervn committed Dec 26, 2018
1 parent 17a74d2 commit 112d60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/adl/hires4.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 112d60d

Please sign in to comment.