aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
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/script_v6.cpp
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/script_v6.cpp')
-rw-r--r--scumm/script_v6.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 6ed5c7637f..dddc942343 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2425,8 +2425,8 @@ void ScummEngine_v6::o6_dim2dimArray() {
}
void ScummEngine_v6::o6_abs() {
- int a = pop(); // palmos: prevent multi pop if we use an abs function defined as : #define abs(a) ((a) < 0 ? -(a) : (a))
- push(abs(a));
+ int a = pop();
+ push(ABS(a));
}
void ScummEngine_v6::o6_distObjectObject() {