mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- Exhumed: hotfix for moving on sloped floors
This commit is contained in:
parent
aba5099ccb
commit
eaebcfcd7d
1 changed files with 1 additions and 1 deletions
|
@ -1163,7 +1163,7 @@ void FuncPlayer(int a, int nDamage, int nRun)
|
|||
}
|
||||
|
||||
sectdone:
|
||||
if (!PlayerList[nPlayer].horizon.horiz.asbuild() || PlayerList[nPlayer].bIsFalling)
|
||||
if ((!PlayerList[nPlayer].horizon.horiz.asbuild() || PlayerList[nPlayer].bIsFalling) && !(sector[sprite[nPlayerSprite].sectnum].floorstat & 2))
|
||||
{
|
||||
// Calculate base pan amount based on how much the player is falling.
|
||||
fixed_t dVertPan = (spr_z - sprite[nPlayerSprite].z) << 9;
|
||||
|
|
Loading…
Reference in a new issue