(svn r11439) -Codechange: replace some magic numbers by a ViewportPlaceMethod enumified constant. Patch by SmatZ.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user