From 9cd88e715337e3d5b1e34e05693ded00ed251fef Mon Sep 17 00:00:00 2001 From: KUDr Date: Wed, 3 May 2006 15:21:49 +0000 Subject: (svn r4713) - Fix: random crashes when opening some GUI (i.e. cheats window) on Win32 debug build. --- graph_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graph_gui.c') 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); } -- cgit v1.2.3-54-g00ecf