diff src/town_gui.cpp @ 5668:3d6d9bff3dd8 draft

(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
author peter1138 <peter1138@openttd.org>
date Sun, 14 Jan 2007 19:57:49 +0000
parents 358c07fb3212
children 7ed4093af663
line wrap: on
line diff
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -141,8 +141,9 @@
 					(str++,                    true);                    // Outstanding
 
 					SetDParam(4, str);
-					if (t->exclusivity == p->index) // red icon for player with exclusive rights
-						DrawSprite(SPR_BLOT | PALETTE_TO_RED, 18, y);
+					if (t->exclusivity == p->index) { // red icon for player with exclusive rights
+						DrawSprite(SPR_BLOT, PALETTE_TO_RED, 18, y);
+					}
 
 					DrawString(28, y, STR_2024, 0);
 					y += 10;