(svn r11439) -Codechange: replace some magic numbers by a ViewportPlaceMethod enumified constant. Patch by SmatZ.

This commit is contained in:
rubidium
2007-11-15 18:21:59 +00:00
parent 7faec2f54d
commit 59a6e40ed2
3 changed files with 18 additions and 17 deletions

View File

@@ -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;