mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Fix errorneous access to sound params in vehicle_update_sound_params
This commit is contained in:
@@ -685,7 +685,7 @@ static void vehicle_update_sound_params(rct_vehicle* vehicle)
|
||||
gVehicleSoundParamsListEnd++;
|
||||
}
|
||||
rct_vehicle_sound_params* j = gVehicleSoundParamsListEnd - 1;
|
||||
while (j >= i) {
|
||||
while (j > i) {
|
||||
j--;
|
||||
*(j + 1) = *j;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user