src/viewport.cpp
changeset 8384 cda01fb6ec2a
parent 8345 6caa3fdb972c
child 8385 aedd7656cfd1
--- a/src/viewport.cpp	Thu Nov 15 18:07:30 2007 +0000
+++ b/src/viewport.cpp	Thu Nov 15 18:21:59 2007 +0000
@@ -2294,7 +2294,7 @@
 }
 
 /** highlighting tiles while only going over them with the mouse */
-void VpStartPlaceSizing(TileIndex tile, byte method, byte process)
+void VpStartPlaceSizing(TileIndex tile, ViewportPlaceMethod method, byte process)
 {
 	_thd.select_method = method;
 	_thd.select_proc   = process;
@@ -2631,7 +2631,7 @@
  * @param y Y coordinate of end of selection
  * @param method modifies the way tiles are selected. Possible
  * methods are VPM_* in viewport.h */
-void VpSelectTilesWithMethod(int x, int y, int method)
+void VpSelectTilesWithMethod(int x, int y, ViewportPlaceMethod method)
 {
 	int sx, sy;
 	HighLightStyle style;