mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-21 19:11:06 +00:00
- Duke/RR: Fix two typos.
This commit is contained in:
parent
64a3141f6f
commit
2918c34d42
1 changed files with 2 additions and 2 deletions
|
@ -1592,7 +1592,7 @@ static void doVehicleSounds(player_struct* p, DDukeActor* pact, unsigned flags,
|
||||||
{
|
{
|
||||||
if (p->OnBoat || p->on_ground)
|
if (p->OnBoat || p->on_ground)
|
||||||
{
|
{
|
||||||
if (p->OnMotorcycle && p->MotoSpeed == 0 && (flags * VEH_BRAKING))
|
if (p->OnMotorcycle && p->MotoSpeed == 0 && (flags & VEH_BRAKING))
|
||||||
{
|
{
|
||||||
if (!S_CheckActorSoundPlaying(pact, sound1))
|
if (!S_CheckActorSoundPlaying(pact, sound1))
|
||||||
S_PlayActorSound(sound1, pact);
|
S_PlayActorSound(sound1, pact);
|
||||||
|
@ -1676,7 +1676,7 @@ static void doVehicleThrottling(player_struct* p, DDukeActor* pact, unsigned& fl
|
||||||
}
|
}
|
||||||
|
|
||||||
p->MotoSpeed += fwdSpeed * p->sync.fvel;
|
p->MotoSpeed += fwdSpeed * p->sync.fvel;
|
||||||
flags *= ~VEH_FORWARD;
|
flags &= ~VEH_FORWARD;
|
||||||
|
|
||||||
if (p->MotoSpeed > 120)
|
if (p->MotoSpeed > 120)
|
||||||
p->MotoSpeed = 120;
|
p->MotoSpeed = 120;
|
||||||
|
|
Loading…
Reference in a new issue