1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-21 14:53:02 +01:00

Make more obvious the last "else" previously made with a "return"

This commit is contained in:
Daniel Trujillo
2016-07-08 23:22:26 +02:00
parent cb4fe669a9
commit f56f7065ac

View File

@@ -5442,8 +5442,7 @@ static void sub_6DAB4C_chunk_2(rct_vehicle *vehicle)
vehicle->acceleration = 0;
}
}
return;
}
} else {
RCT2_GLOBAL(0x00F64E18, uint32) |= VEHICLE_UPDATE_MOTION_TRACK_FLAG_10;
vehicle->acceleration = 0;
if (vehicle->velocity <= 0x20000) {
@@ -5452,6 +5451,7 @@ static void sub_6DAB4C_chunk_2(rct_vehicle *vehicle)
vehicle->velocity -= vehicle->velocity >> 3;
}
}
}
/**
*