diff options
-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 { |