mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 19:32:11 +00:00
FULLPIPE: Fix compiler warning
This commit is contained in:
parent
7cf1f02fa1
commit
75f2dacade
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user