summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2006-05-03 15:21:49 +0000
committerKUDr <kudr@openttd.org>2006-05-03 15:21:49 +0000
commit9cd88e715337e3d5b1e34e05693ded00ed251fef (patch)
tree03d371d37a8bc268033dc15fef273168bbee7afc /graph_gui.c
parent790d0b170320ffba5e5bd0d5bdc4ca21e79926b9 (diff)
downloadopenttd-9cd88e715337e3d5b1e34e05693ded00ed251fef.tar.xz
(svn r4713) - Fix: random crashes when opening some GUI (i.e. cheats window) on Win32 debug build.
Diffstat (limited to 'graph_gui.c')
-rw-r--r--graph_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph_gui.c b/graph_gui.c
index ea7a40aa6..4414e7d2b 100644
--- a/graph_gui.c
+++ b/graph_gui.c
@@ -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);
}