diff options
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 4 |
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() { |