forked from mirror/OpenTTD
Codechange: Use EnumBitSet for VehStates. (#13755)
Renamed from VehStatus because pluralising that is weird.
This commit is contained in:
@@ -1020,7 +1020,7 @@ static void FloodVehicle(Vehicle *v)
|
||||
*/
|
||||
static Vehicle *FloodVehicleProc(Vehicle *v, void *data)
|
||||
{
|
||||
if ((v->vehstatus & VS_CRASHED) != 0) return nullptr;
|
||||
if (v->vehstatus.Test(VehState::Crashed)) return nullptr;
|
||||
|
||||
switch (v->type) {
|
||||
default: break;
|
||||
|
Reference in New Issue
Block a user