Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
50917d2e
Commit
50917d2e
authored
7 years ago
by
Monster Iestyn
Browse files
Options
Downloads
Patches
Plain Diff
P_FloorzAtPos: Check the normal floor's slope as well as FOF slopes, silly.
parent
9b788b55
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!252
OpenGL: Public flatsprite: The Fixening
,
!208
P_FloorzAtPos slope fix
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/p_map.c
+5
-0
5 additions, 0 deletions
src/p_map.c
with
5 additions
and
0 deletions
src/p_map.c
+
5
−
0
View file @
50917d2e
...
...
@@ -4000,6 +4000,11 @@ fixed_t P_FloorzAtPos(fixed_t x, fixed_t y, fixed_t z, fixed_t height)
sector_t
*
sec
=
R_PointInSubsector
(
x
,
y
)
->
sector
;
fixed_t
floorz
=
sec
->
floorheight
;
#ifdef ESLOPE
if
(
sec
->
f_slope
)
floorz
=
P_GetZAt
(
sec
->
f_slope
,
x
,
y
);
#endif
// Intercept the stupid 'fall through 3dfloors' bug Tails 03-17-2002
if
(
sec
->
ffloors
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment