From baf2f1988c0143fc33029eb7540c41889f2054b5 Mon Sep 17 00:00:00 2001
From: nehalmistry <>
Date: Sat, 8 May 2004 03:45:58 +0000
Subject: [PATCH] small error

---
 src/action/command.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/action/command.cpp b/src/action/command.cpp
index f6067dccf..deb1e8f30 100644
--- a/src/action/command.cpp
+++ b/src/action/command.cpp
@@ -537,7 +537,7 @@ global void CommandPatrolUnit(Unit* unit, int x, int y, int flush)
 		order->Y = y;
 		order->Range = 0;
 		order->Type = NULL;
-		Assert(!(unit->X & ~0xFFFF) || !(unit->Y & ~0xFFFF));
+		Assert(!(unit->X & ~0xFFFF) && !(unit->Y & ~0xFFFF));
 		// FIXME: BUG-ALERT: encode source into arg1 as two 16 bit values!
 		order->Arg1 = (void*)((unit->X << 16) | unit->Y);
 	}