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
Jordon Moss
EDuke32-CSRefactor
Commits
278ba013
Commit
278ba013
authored
Dec 29, 2021
by
nukeykt
Browse files
engine: fix TROR regression caused by
421b54a8
parent
5fbeae0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/build/src/polymost.cpp
View file @
278ba013
...
...
@@ -5755,10 +5755,14 @@ static void polymost_drawalls(int32_t const bunch)
}
else
{
g_nodraw
=
1
;
yax_drawcf
=
-
1
;
polymost_domost
(
x0
,
fy0
,
x1
,
fy1
);
g_nodraw
=
0
;
int32_t
fz
=
getflorzofslope
(
sectnum
,
globalposx
,
globalposy
);
if
(
globalposz
<=
fz
)
{
g_nodraw
=
1
;
yax_drawcf
=
-
1
;
polymost_domost
(
x0
,
fy0
,
x1
,
fy1
);
g_nodraw
=
0
;
}
}
#endif
...
...
@@ -6170,10 +6174,14 @@ static void polymost_drawalls(int32_t const bunch)
}
else
{
g_nodraw
=
1
;
yax_drawcf
=
-
1
;
polymost_domost
(
x1
,
cy1
,
x0
,
cy0
);
g_nodraw
=
0
;
int32_t
cz
=
getceilzofslope
(
sectnum
,
globalposx
,
globalposy
);
if
(
globalposz
>=
cz
)
{
g_nodraw
=
1
;
yax_drawcf
=
-
1
;
polymost_domost
(
x1
,
cy1
,
x0
,
cy0
);
g_nodraw
=
0
;
}
}
#endif
...
...
Write
Preview
Markdown
is supported
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