diff options
author | Darkvater <darkvater@openttd.org> | 2005-06-06 13:47:06 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-06-06 13:47:06 +0000 |
commit | 5fed47964e28c49f7af879700d013f2897341f4e (patch) | |
tree | ac935893726bc7005c7c5ad7d411354e5b8cc0f9 /player_gui.c | |
parent | 71c2a573e193b0e4530cee49e02148320c84c612 (diff) | |
download | openttd-5fed47964e28c49f7af879700d013f2897341f4e.tar.xz |
(svn r2420) - Codechange: magic number elminitation of cursorsprites.
Diffstat (limited to 'player_gui.c')
-rw-r--r-- | player_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
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% */ |