mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 08:50:55 +00:00
Are you kidding me? This fixes the elevator in Duke3D E2L3.
This commit is contained in:
parent
53baf228eb
commit
ec3e8bffe1
1 changed files with 1 additions and 1 deletions
|
@ -4828,7 +4828,7 @@ void P_ProcessInput(int playerNum)
|
||||||
{
|
{
|
||||||
int const spriteNum = highZhit & (MAXSPRITES-1);
|
int const spriteNum = highZhit & (MAXSPRITES-1);
|
||||||
|
|
||||||
if ((sprite[spriteNum].z + PMINHEIGHT > pPlayer->pos.z)
|
if ((spriteNum != pPlayer->i && sprite[spriteNum].z + PMINHEIGHT > pPlayer->pos.z)
|
||||||
|| (sprite[spriteNum].statnum == STAT_ACTOR && sprite[spriteNum].extra >= 0))
|
|| (sprite[spriteNum].statnum == STAT_ACTOR && sprite[spriteNum].extra >= 0))
|
||||||
{
|
{
|
||||||
highZhit = 0;
|
highZhit = 0;
|
||||||
|
|
Loading…
Reference in a new issue