diff options
author | KUDr <KUDr@openttd.org> | 2006-05-03 15:21:49 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-05-03 15:21:49 +0000 |
commit | 8bdf61bf3ba1ebd8cc13d93c4caaafbe5729b281 (patch) | |
tree | 03d371d37a8bc268033dc15fef273168bbee7afc | |
parent | 28318a6cbd6dffa3e67c796e3953482f243b74b3 (diff) | |
download | openttd-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.c | 2 |
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); } |