summaryrefslogtreecommitdiff
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
commit8bdf61bf3ba1ebd8cc13d93c4caaafbe5729b281 (patch)
tree03d371d37a8bc268033dc15fef273168bbee7afc
parent28318a6cbd6dffa3e67c796e3953482f243b74b3 (diff)
downloadopenttd-8bdf61bf3ba1ebd8cc13d93c4caaafbe5729b281.tar.xz
(svn r4713) - Fix: random crashes when opening some GUI (i.e. cheats window) on Win32 debug build.
-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);
}