mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r2858) -Codechange: resolved some magic numbers (_Luca_)
This commit is contained in:
parent
235d84583f
commit
732acc8ead
@ -610,9 +610,9 @@ static void DrawSmallMap(DrawPixelInfo *dpi, Window *w, int type, bool show_town
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user