diff options
author | yinsimei | 2017-07-11 00:14:47 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | ae8df00f56521841ba438f28c84bf1e2a7a4a1bd (patch) | |
tree | e016cb1a14730837031f0c72cd7bd764e222fdfb /engines/sludge/builtin.cpp | |
parent | 9d349e794e272b6e7d8fe1655b7cc3bfa2253efb (diff) | |
download | scummvm-rg350-ae8df00f56521841ba438f28c84bf1e2a7a4a1bd.tar.gz scummvm-rg350-ae8df00f56521841ba438f28c84bf1e2a7a4a1bd.tar.bz2 scummvm-rg350-ae8df00f56521841ba438f28c84bf1e2a7a4a1bd.zip |
SLUDGE: replace abs() by scummvm ABS()
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r-- | engines/sludge/builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp index 3a79590420..123841c11f 100644 --- a/engines/sludge/builtin.cpp +++ b/engines/sludge/builtin.cpp @@ -1667,7 +1667,7 @@ builtIn(pasteCharacter) { } int fNum = myAnim->frames[thisPerson->frameNum].frameNum; - fixScaleSprite(thisPerson->x, thisPerson->y, myAnim->theSprites->bank.sprites[abs(fNum)], myAnim->theSprites->bank.myPalette, thisPerson, 0, 0, fNum < 0); + fixScaleSprite(thisPerson->x, thisPerson->y, myAnim->theSprites->bank.sprites[ABS(fNum)], myAnim->theSprites->bank.myPalette, thisPerson, 0, 0, fNum < 0); setVariable(fun->reg, SVT_INT, 1); } else { setVariable(fun->reg, SVT_INT, 0); |