mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'dlz-rockabilly' into 'master'
Dismount DLZ Rocket and Rideroid properly Closes #1338 and #1357 See merge request KartKrew/Kart!2337
This commit is contained in:
commit
d994b7068d
2 changed files with 3 additions and 2 deletions
|
|
@ -196,6 +196,7 @@ void Obj_playerDLZRocket(player_t *p)
|
|||
}
|
||||
|
||||
if ((p->dlzrocket > 10 && (P_IsObjectOnGround(p->mo) || p->mo->eflags & MFE_JUSTBOUNCEDWALL))
|
||||
|| p->spinouttimer || p->wipeoutslow || p->tumbleHeight)
|
||||
|| p->spinouttimer || p->wipeoutslow || p->tumbleBounces
|
||||
|| p->respawn.state != RESPAWNST_NONE)
|
||||
Obj_DLZRocketDismount(p);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@ void Obj_RideroidThink(mobj_t *mo)
|
|||
|
||||
|
||||
// if we hit a wall or get hit, get off of the rideroid.
|
||||
if (pmo->eflags & MFE_JUSTBOUNCEDWALL || P_PlayerInPain(p))
|
||||
if (pmo->eflags & MFE_JUSTBOUNCEDWALL || P_PlayerInPain(p) || p->respawn.state != RESPAWNST_NONE)
|
||||
{
|
||||
Obj_explodeRideroid(mo);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue