mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-14 10:09:11 +00:00
(svn r23397) -Change: remove the AI_ prefix from all AIEvent enums
This commit is contained in:
@@ -1859,13 +1859,13 @@ function Regression::Start()
|
||||
print(" GetNextEvent: " + (e == null ? "null" : "instance"));
|
||||
print(" GetEventType: " + e.GetEventType());
|
||||
switch (e.GetEventType()) {
|
||||
case AIEvent.AI_ET_SUBSIDY_OFFER: {
|
||||
case AIEvent.ET_SUBSIDY_OFFER: {
|
||||
local c = AIEventSubsidyOffer.Convert(e);
|
||||
print(" EventName: SubsidyOffer");
|
||||
PrintSubsidy(c.GetSubsidyID());
|
||||
} break;
|
||||
|
||||
case AIEvent.AI_ET_VEHICLE_WAITING_IN_DEPOT: {
|
||||
case AIEvent.ET_VEHICLE_WAITING_IN_DEPOT: {
|
||||
local c = AIEventVehicleWaitingInDepot.Convert(e);
|
||||
print(" EventName: VehicleWaitingInDepot");
|
||||
print(" VehicleID: " + c.GetVehicleID());
|
||||
|
Reference in New Issue
Block a user