From 1b82711302ee4f3d15ae28558a587dd6ef0949fe Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 25 Dec 2004 13:19:45 +0000 Subject: There is no 'max' function on some of our targets svn-id: r16309 --- saga/actor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'saga') 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 { -- cgit v1.2.3