(svn r2858) -Codechange: resolved some magic numbers (_Luca_)
authortruelight
Thu, 11 Aug 2005 19:23:32 +0000
changeset 2332 fa9dc1350e22
parent 2331 72a9f9b31e4e
child 2333 4c72a7c53c9a
(svn r2858) -Codechange: resolved some magic numbers (_Luca_)
smallmap_gui.c
--- a/smallmap_gui.c	Thu Aug 11 19:21:46 2005 +0000
+++ b/smallmap_gui.c	Thu Aug 11 19:23:32 2005 +0000
@@ -610,9 +610,9 @@
 		memset(&_owner_colors[128], 0xB4, 128 * sizeof(*_owner_colors));
 
 		/* fill with some special colors */
-		_owner_colors[0x10] = MKCOLOR(0x54545454);
-		_owner_colors[0x11] = MKCOLOR(0xCACACACA);
-		_owner_colors[0xff] = MKCOLOR(0x20202020); /* industry */
+		_owner_colors[OWNER_NONE] = MKCOLOR(0x54545454);
+		_owner_colors[OWNER_WATER] = MKCOLOR(0xCACACACA);
+		_owner_colors[OWNER_SPECTATOR] = MKCOLOR(0x20202020); /* industry */
 
 		/* now fill with the player colors */
 		FOR_ALL_PLAYERS(p) {