1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-21 06:43:04 +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,14 +5442,14 @@ 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) {
vehicle->velocity = 0;
}
vehicle->velocity -= vehicle->velocity >> 3;
}
RCT2_GLOBAL(0x00F64E18, uint32) |= VEHICLE_UPDATE_MOTION_TRACK_FLAG_10;
vehicle->acceleration = 0;
if (vehicle->velocity <= 0x20000) {
vehicle->velocity = 0;
}
vehicle->velocity -= vehicle->velocity >> 3;
}
}