aboutsummaryrefslogtreecommitdiff
path: root/scumm/insane
diff options
context:
space:
mode:
authorMax Horn2005-05-25 09:17:35 +0000
committerMax Horn2005-05-25 09:17:35 +0000
commitef9d595a907fb1b33a9ca7cdf3e1ba26a5991a1b (patch)
tree70de3973f7e4a5bca23707861140df7fe8a9c9de /scumm/insane
parent936b3025573c3de041c7365c4f85a515018f3634 (diff)
downloadscummvm-rg350-ef9d595a907fb1b33a9ca7cdf3e1ba26a5991a1b.tar.gz
scummvm-rg350-ef9d595a907fb1b33a9ca7cdf3e1ba26a5991a1b.tar.bz2
scummvm-rg350-ef9d595a907fb1b33a9ca7cdf3e1ba26a5991a1b.zip
abs -> ABS (code unification)
svn-id: r18246
Diffstat (limited to 'scumm/insane')
-rw-r--r--scumm/insane/insane_enemy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/insane/insane_enemy.cpp b/scumm/insane/insane_enemy.cpp
index 7b70747af9..336166132d 100644
--- a/scumm/insane/insane_enemy.cpp
+++ b/scumm/insane/insane_enemy.cpp
@@ -436,7 +436,7 @@ int32 Insane::enemy2handler(int32 actor1, int32 actor2, int32 probability) {
_enHdlVar[EN_ROTT3][2] = _vm->_rnd.getRandomNumber(probability * 2 - 1);
}
- dist = abs(act1x - act2x);
+ dist = ABS(act1x - act2x);
if (_enHdlVar[EN_ROTT3][3] > _enHdlVar[EN_ROTT3][4]) {
if (_enHdlVar[EN_ROTT3][0] == 1) {