Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Jones
EDuke32
Commits
0fe5c595
Commit
0fe5c595
authored
Apr 07, 2020
by
Richard Gobeille
Browse files
Are you kidding me? This fixes the elevator in Duke3D E2L3.
parent
4af08d4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/duke3d/src/player.cpp
View file @
0fe5c595
...
...
@@ -4993,7 +4993,7 @@ void P_ProcessInput(int playerNum)
{
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
))
{
highZhit
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment