mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
- RRRA: fixed vehicle collision with psychedelic cactuses.
This did not fully match the original source which had a critical difference here between RR and RRRA.
This commit is contained in:
parent
977223287e
commit
d5ff87fa4f
1 changed files with 29 additions and 24 deletions
|
@ -3971,8 +3971,7 @@ HORIZONLY:
|
||||||
{
|
{
|
||||||
onBoatHit(snum, clip.actor);
|
onBoatHit(snum, clip.actor);
|
||||||
}
|
}
|
||||||
else
|
else if (badguy(clip.actor))
|
||||||
if (badguy(clip.actor))
|
|
||||||
{
|
{
|
||||||
if (clip.actor->s.statnum != 1)
|
if (clip.actor->s.statnum != 1)
|
||||||
{
|
{
|
||||||
|
@ -3984,20 +3983,26 @@ HORIZONLY:
|
||||||
changespritestat(clip.actor, 1);
|
changespritestat(clip.actor, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (!isRRRA() && clip.actor->s.picnum == RRTILE3410)
|
||||||
|
{
|
||||||
|
quickkill(p);
|
||||||
|
S_PlayActorSound(446, pact);
|
||||||
|
}
|
||||||
|
if (isRRRA())
|
||||||
|
{
|
||||||
if (clip.actor->s.picnum == RRTILE3410)
|
if (clip.actor->s.picnum == RRTILE3410)
|
||||||
{
|
{
|
||||||
quickkill(p);
|
quickkill(p);
|
||||||
S_PlayActorSound(446, pact);
|
S_PlayActorSound(446, pact);
|
||||||
}
|
}
|
||||||
else if (isRRRA() && clip.actor->s.picnum == RRTILE2443 && clip.actor->s.pal == 19)
|
else if (clip.actor->s.picnum == RRTILE2443 && clip.actor->s.pal == 19)
|
||||||
{
|
{
|
||||||
clip.actor->s.pal = 0;
|
clip.actor->s.pal = 0;
|
||||||
p->DrugMode = 5;
|
p->DrugMode = 5;
|
||||||
ps[snum].GetActor()->s.extra = max_player_health;
|
ps[snum].GetActor()->s.extra = max_player_health;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (p->jetpack_on == 0)
|
if (p->jetpack_on == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue