diff options
author | Eugene Sandulenko | 2013-09-28 21:44:28 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-28 21:44:55 +0300 |
commit | 75f2dacade8f733719c8dbfc1caacd0bc9a232da (patch) | |
tree | 0a780d9014c591bf9cdc4de6a7c03ce422cbd74c | |
parent | 7cf1f02fa1273b0149440c9dc0e822734e6290b1 (diff) | |
download | scummvm-rg350-75f2dacade8f733719c8dbfc1caacd0bc9a232da.tar.gz scummvm-rg350-75f2dacade8f733719c8dbfc1caacd0bc9a232da.tar.bz2 scummvm-rg350-75f2dacade8f733719c8dbfc1caacd0bc9a232da.zip |
FULLPIPE: Fix compiler warning
-rw-r--r-- | engines/fullpipe/scenes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp index 7bc8f68fa5..9fb8a95f53 100644 --- a/engines/fullpipe/scenes.cpp +++ b/engines/fullpipe/scenes.cpp @@ -1348,7 +1348,7 @@ int MovGraph_messageHandler(ExCommand *cmd) { double sq = (ani->_oy - node->_y) * (ani->_oy - node->_y) + (ani->_ox - node->_x) * (ani->_ox - node->_x); int off = (node->_field_14 >> 16) & 0xFF; - double off2 = (link->_movGraphNode2->_field_14 >> 8) & 0xff - off; + double off2 = ((link->_movGraphNode2->_field_14 >> 8) & 0xff) - off; top = off + (int)(sqrt(sq) * off2 / link->_distance); } else { |