diff options
author | rubidium <rubidium@openttd.org> | 2007-11-15 18:21:59 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-15 18:21:59 +0000 |
commit | 59a6e40ed215319b6fe1feace41b7f745e28364a (patch) | |
tree | 9da03edcf303a22c3c11c18e658865c79e06599b /src/window.h | |
parent | 7faec2f54d3dc0ffb7dc14f9d151284de511a248 (diff) | |
download | openttd-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.h | 3 |
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; |