summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-03 21:29:59 +0000
committertron <tron@openttd.org>2005-01-03 21:29:59 +0000
commitd922ca68e77e175d1a860f1670cfd41d04897eeb (patch)
tree43e155c681163ebdce6944ef69982f6391a7cd7e /viewport.c
parent52c87a0330eb4ef533030e8fd18fb349550974cc (diff)
downloadopenttd-d922ca68e77e175d1a860f1670cfd41d04897eeb.tar.xz
(svn r1354) Use WindowClass/WindowNumber to store/pass window class/number, not some arbitrary data types
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.c b/viewport.c
index 05e461431..f28465230 100644
--- a/viewport.c
+++ b/viewport.c
@@ -2060,7 +2060,7 @@ void SetObjectToPlaceWnd(int icon, byte mode, Window *w)
#include "table/animcursors.h"
-void SetObjectToPlace(int icon, byte mode, byte window_class, uint16 window_num)
+void SetObjectToPlace(int icon, byte mode, WindowClass window_class, WindowNumber window_num)
{
TileHighlightData *thd = _thd_ptr;
Window *w;