mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-11 17:22:17 +00:00
Fix Knuckles being able to climb up solid midtextures by repeatedly gliding at them. (addresses #174 checkbox 2)
This commit is contained in:
parent
7a4d1eefdb
commit
09fce66717
1 changed files with 1 additions and 1 deletions
|
|
@ -3199,7 +3199,7 @@ static boolean P_IsClimbingValid(player_t *player, angle_t angle)
|
|||
&& glidesector->sector->ceilingpic == skyflatnum)
|
||||
return false;
|
||||
|
||||
if ((player->mo->z + FixedMul(16*FRACUNIT,player->mo->scale) < ceilingz)
|
||||
if ((player->mo->z + FixedMul(16*FRACUNIT,player->mo->scale) < floorz)
|
||||
|| (player->mo->z >= ceilingz))
|
||||
floorclimb = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue