diff options
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 005c8a570..d6ef9a055 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -636,6 +636,12 @@ public: virtual void OnPlaceObject(Point pt, TileIndex tile) {} /** + * The user clicked on a vehicle while HT_VEHICLE has been set. + * @param v clicked vehicle. It is guaranteed to be v->IsPrimaryVehicle() == true + */ + virtual void OnVehicleSelect(const struct Vehicle *v) {} + + /** * The user cancelled a tile highlight mode that has been set. */ virtual void OnPlaceObjectAbort() {} |