diff options
author | Max Horn | 2004-12-25 13:19:45 +0000 |
---|---|---|
committer | Max Horn | 2004-12-25 13:19:45 +0000 |
commit | 1b82711302ee4f3d15ae28558a587dd6ef0949fe (patch) | |
tree | 0cf4e2d42c44a9306711490ee6524c1567be0156 | |
parent | a66080b80a592f0610d1e4c7e8adeefe8a30e680 (diff) | |
download | scummvm-rg350-1b82711302ee4f3d15ae28558a587dd6ef0949fe.tar.gz scummvm-rg350-1b82711302ee4f3d15ae28558a587dd6ef0949fe.tar.bz2 scummvm-rg350-1b82711302ee4f3d15ae28558a587dd6ef0949fe.zip |
There is no 'max' function on some of our targets
svn-id: r16309
-rw-r--r-- | saga/actor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/actor.h b/saga/actor.h index e67219d176..b48f321f0d 100644 --- a/saga/actor.h +++ b/saga/actor.h @@ -126,7 +126,7 @@ struct ActorLocation { int y; // int z; // int distance(const ActorLocation &location) { - return max(abs(x - location.x), abs(y - location.y)); + return MAX(abs(x - location.x), abs(y - location.y)); } }; struct ActorData { |