mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r4713) - Fix: random crashes when opening some GUI (i.e. cheats window) on Win32 debug build.
This commit is contained in:
parent
790d0b1703
commit
9cd88e7153
|
@ -212,7 +212,7 @@ static void DrawGraph(const GraphDrawer *gw)
|
|||
/* 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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue