map.h
changeset 4000 4009d092b306
parent 2794 ebe7638cf265
child 4344 7e123fec5b0b
--- a/map.h	Fri Jun 09 20:06:02 2006 +0000
+++ b/map.h	Sat Jun 10 08:37:41 2006 +0000
@@ -67,11 +67,11 @@
 	return (y >> 4 << MapLogX()) + (x >> 4);
 }
 
-typedef enum {
-	OWNER_TOWN			= 0xf,	// a town owns the tile
-	OWNER_NONE			= 0x10,	// nobody owns the tile
-	OWNER_WATER			= 0x11,	// "water" owns the tile
-	OWNER_SPECTATOR	= 0xff,	// spectator in MP or in scenario editor
+typedef enum Owner {
+	OWNER_TOWN      = 0x0F, // a town owns the tile
+	OWNER_NONE      = 0x10, // nobody owns the tile
+	OWNER_WATER     = 0x11, // "water" owns the tile
+	OWNER_SPECTATOR = 0xFF, // spectator in MP or in scenario editor
 } Owner;
 
 enum {