From 5fed47964e28c49f7af879700d013f2897341f4e Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 6 Jun 2005 13:47:06 +0000 Subject: (svn r2420) - Codechange: magic number elminitation of cursorsprites. --- player_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player_gui.c') diff --git a/player_gui.c b/player_gui.c index ceb21a605..b14e85ebf 100644 --- a/player_gui.c +++ b/player_gui.c @@ -593,7 +593,7 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e) if (tile == 0) { if ((byte)w->window_number != _local_player) return; - SetObjectToPlaceWnd(0x2D0, 1, w); + SetObjectToPlaceWnd(SPR_CURSOR_HQ, 1, w); SetTileSelectSize(2, 2); } else { ScrollMainWindowToTile(tile); @@ -601,7 +601,7 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e) } break; case 8: /* relocate HQ */ - SetObjectToPlaceWnd(0x2D0, 1, w); + SetObjectToPlaceWnd(SPR_CURSOR_HQ, 1, w); SetTileSelectSize(2, 2); break; case 9: /* buy 25% */ -- cgit v1.2.3-54-g00ecf