diff options
author | Gregory Montoir | 2004-12-05 09:41:39 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-12-05 09:41:39 +0000 |
commit | bd9c01ad8c03ebb24b1a61ac649ad767851db64b (patch) | |
tree | 34025001fb31ac0789b6017ea0fb1e124d49d132 | |
parent | ecf6a579c55e8485da112c554080e999deaa9368 (diff) | |
download | scummvm-rg350-bd9c01ad8c03ebb24b1a61ac649ad767851db64b.tar.gz scummvm-rg350-bd9c01ad8c03ebb24b1a61ac649ad767851db64b.tar.bz2 scummvm-rg350-bd9c01ad8c03ebb24b1a61ac649ad767851db64b.zip |
this is just how watcom handles signed division
svn-id: r15987
-rw-r--r-- | scumm/insane/insane_ben.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scumm/insane/insane_ben.cpp b/scumm/insane/insane_ben.cpp index 5c03f504eb..51b6f62d7b 100644 --- a/scumm/insane/insane_ben.cpp +++ b/scumm/insane/insane_ben.cpp @@ -217,15 +217,6 @@ int32 Insane::processBenOnRoad(bool flag) { if (_actor[0].speed < -8) _actor[0].speed = -8; - // FIXME: is it abs(/2) ? - // mov eax, insane_actor0.speed - // mov edx, eax - // sar edx, 1Fh - // sub eax, edx - // sar eax, 1 - // add eax, insane_actor0.speed - // add insane_actor0.x, eax - _actor[0].x += _actor[0].speed / 2 + _actor[0].speed; if (_actor[0].x < 0) |