summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-11-15 18:21:59 +0000
committerrubidium <rubidium@openttd.org>2007-11-15 18:21:59 +0000
commit59a6e40ed215319b6fe1feace41b7f745e28364a (patch)
tree9da03edcf303a22c3c11c18e658865c79e06599b /src/window.h
parent7faec2f54d3dc0ffb7dc14f9d151284de511a248 (diff)
downloadopenttd-59a6e40ed215319b6fe1feace41b7f745e28364a.tar.xz
(svn r11439) -Codechange: replace some magic numbers by a ViewportPlaceMethod enumified constant. Patch by SmatZ.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index 9f498eb6d..7dcb1fc6d 100644
--- a/src/window.h
+++ b/src/window.h
@@ -12,6 +12,7 @@
#include "road.h"
#include "airport.h"
#include "vehicle.h"
+#include "viewport.h"
struct WindowEvent;
@@ -140,7 +141,7 @@ struct WindowEvent {
Point pt;
TileIndex tile;
TileIndex starttile;
- byte select_method;
+ ViewportPlaceMethod select_method;
byte select_proc;
} place;