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
NY00123
EDuke32-CSRefactor
Commits
4bb26783
Commit
4bb26783
authored
May 23, 2020
by
Richard Gobeille
Browse files
engine: disable annoying clipupdatesector() console warning in release builds
parent
23b0d6b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/build/src/clip.cpp
View file @
4bb26783
...
@@ -1027,7 +1027,9 @@ static void clipupdatesector(vec2_t const pos, int16_t * const sectnum, int wall
...
@@ -1027,7 +1027,9 @@ static void clipupdatesector(vec2_t const pos, int16_t * const sectnum, int wall
if
(
nsecs
>
(
walldist
+
8
))
if
(
nsecs
>
(
walldist
+
8
))
{
{
#ifdef DEBUGGINGAIDS
OSD_Printf
(
"%s(): initial position (%d, %d) not within initial sector %d; shortest distance %d.
\n
"
,
EDUKE32_FUNCTION
,
pos
.
x
,
pos
.
y
,
*
sectnum
,
nsecs
);
OSD_Printf
(
"%s(): initial position (%d, %d) not within initial sector %d; shortest distance %d.
\n
"
,
EDUKE32_FUNCTION
,
pos
.
x
,
pos
.
y
,
*
sectnum
,
nsecs
);
#endif
walldist
=
0x7fff
;
walldist
=
0x7fff
;
}
}
...
...
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