mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-24 04:34:16 +01:00
Codechange: rename byte to uint8_t (#12308)
This commit is contained in:
@@ -353,7 +353,7 @@
|
||||
if (!IsValidVehicle(vehicle_id)) return ScriptVehicle::VS_INVALID;
|
||||
|
||||
const Vehicle *v = ::Vehicle::Get(vehicle_id);
|
||||
byte vehstatus = v->vehstatus;
|
||||
uint8_t vehstatus = v->vehstatus;
|
||||
|
||||
if (vehstatus & ::VS_CRASHED) return ScriptVehicle::VS_CRASHED;
|
||||
if (v->breakdown_ctr != 0) return ScriptVehicle::VS_BROKEN;
|
||||
|
||||
Reference in New Issue
Block a user