Commit 0fe5c595 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Are you kidding me? This fixes the elevator in Duke3D E2L3.

parent 4af08d4e
...@@ -4993,7 +4993,7 @@ void P_ProcessInput(int playerNum) ...@@ -4993,7 +4993,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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment