Add game event for TBTR replacement attempt
This commit is contained in:
@@ -1379,6 +1379,8 @@ void CallVehicleTicks()
|
||||
bool leaveDepot = it->second;
|
||||
_vehicles_to_autoreplace.erase(it);
|
||||
|
||||
RegisterGameEvents(GEF_TBTR_REPLACEMENT);
|
||||
|
||||
/* Store the position of the effect as the vehicle pointer will become invalid later */
|
||||
int x = t->x_pos;
|
||||
int y = t->y_pos;
|
||||
|
Reference in New Issue
Block a user