mirror of https://github.com/OpenTTD/OpenTTD
(svn r4713) - Fix: random crashes when opening some GUI (i.e. cheats window) on Win32 debug build.
parent
790d0b1703
commit
9cd88e7153
|
@ -212,7 +212,7 @@ static void DrawGraph(const GraphDrawer *gw)
|
||||||
/* GRAPH LEGEND */
|
/* GRAPH LEGEND */
|
||||||
/****************/
|
/****************/
|
||||||
|
|
||||||
void DrawPlayerIcon(int p, int x, int y)
|
void DrawPlayerIcon(PlayerID p, int x, int y)
|
||||||
{
|
{
|
||||||
DrawSprite(SPRITE_PALETTE(PLAYER_SPRITE_COLOR(p) + 0x2EB), x, y);
|
DrawSprite(SPRITE_PALETTE(PLAYER_SPRITE_COLOR(p) + 0x2EB), x, y);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue