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
commit099ee88c301eec103a48279d0d14fb02e57559a8 (patch)
tree43e155c681163ebdce6944ef69982f6391a7cd7e /viewport.c
parent3d51f4d689c1ee9d6214efbcdb43e1fbe9908dd9 (diff)
downloadopenttd-099ee88c301eec103a48279d0d14fb02e57559a8.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;