diff options
author | Torbjörn Andersson | 2006-05-08 13:34:21 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-05-08 13:34:21 +0000 |
commit | e2656a276afa9497750cc58536c3330605d6aeec (patch) | |
tree | 3577bbe98bb6cf19958f33738297228a110f0422 /engines/simon/items.cpp | |
parent | 3f9395831cba0024e57aa19d8222845ae7778a5d (diff) | |
download | scummvm-rg350-e2656a276afa9497750cc58536c3330605d6aeec.tar.gz scummvm-rg350-e2656a276afa9497750cc58536c3330605d6aeec.tar.bz2 scummvm-rg350-e2656a276afa9497750cc58536c3330605d6aeec.zip |
Changed abs() to ABS()
svn-id: r22389
Diffstat (limited to 'engines/simon/items.cpp')
-rw-r--r-- | engines/simon/items.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/simon/items.cpp b/engines/simon/items.cpp index 700546c6a4..dd3004e113 100644 --- a/engines/simon/items.cpp +++ b/engines/simon/items.cpp @@ -1465,8 +1465,8 @@ void SimonEngine::o_getPathPosn() { if (!p) continue; for (j = 0; readUint16Wrapper(&p[0]) != end; j++, p += 2) { - x_diff = abs((int16)(readUint16Wrapper(&p[0]) - x)); - y_diff = abs((int16)(readUint16Wrapper(&p[1]) - 12 - y)); + x_diff = ABS((int16)(readUint16Wrapper(&p[0]) - x)); + y_diff = ABS((int16)(readUint16Wrapper(&p[1]) - 12 - y)); if (x_diff < y_diff) { x_diff /= 4; |