mirror of https://github.com/OpenRCT2/OpenRCT2.git
Review fixes
This commit is contained in:
parent
42ee2638f6
commit
49d58dde3e
|
@ -1273,11 +1273,11 @@ void vehicle_sounds_update()
|
||||||
{
|
{
|
||||||
volume = -10000;
|
volume = -10000;
|
||||||
}
|
}
|
||||||
if (sprite->vehicle.sound2_id == (uint8)-1)
|
if (sprite->vehicle.sound2_id == RCT12_SOUND_ID_NULL)
|
||||||
{
|
{
|
||||||
if (vehicle_sound->sound2_id != SOUND_ID_NULL)
|
if (vehicle_sound->sound2_id != SOUND_ID_NULL)
|
||||||
{
|
{
|
||||||
vehicle_sound->sound2_id = -1;
|
vehicle_sound->sound2_id = SOUND_ID_NULL;
|
||||||
Mixer_Stop_Channel(vehicle_sound->sound2_channel);
|
Mixer_Stop_Channel(vehicle_sound->sound2_channel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8009,7 +8009,8 @@ loc_6DB358:
|
||||||
regs.edx = z;
|
regs.edx = z;
|
||||||
regs.bl = direction;
|
regs.bl = direction;
|
||||||
}
|
}
|
||||||
if (mapElement->properties.track.type == 211 || mapElement->properties.track.type == 212)
|
if (mapElement->properties.track.type == TRACK_ELEM_LEFT_REVERSER ||
|
||||||
|
mapElement->properties.track.type == TRACK_ELEM_RIGHT_REVERSER)
|
||||||
{
|
{
|
||||||
if (!vehicle->is_child && vehicle->velocity <= 0x30000)
|
if (!vehicle->is_child && vehicle->velocity <= 0x30000)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue