abs -> ABS (code unification)

svn-id: r18246
This commit is contained in:
Max Horn 2005-05-25 09:17:35 +00:00
parent 936b302557
commit ef9d595a90
5 changed files with 18 additions and 18 deletions

View file

@ -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() {