Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Richard Gobeille
EDuke32
Commits
fe2bcb7b
Commit
fe2bcb7b
authored
Mar 04, 2021
by
NY00123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duke3D: Process empty skill name definitions as if they were " ".
Fixes assertion failure with Suburbs TC.
parent
d85d0e07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
source/duke3d/src/gamedef.cpp
source/duke3d/src/gamedef.cpp
+7
-0
No files found.
source/duke3d/src/gamedef.cpp
View file @
fe2bcb7b
...
...
@@ -5407,6 +5407,13 @@ repeatcase:
}
}
if
(
EDUKE32_PREDICT_FALSE
(
i
==
0
))
{
initprintf
(
"%s:%d: warning: empty skill name.
\n
"
,
g_scriptFileName
,
g_lineNumber
);
g_skillNames
[
j
][
i
++
]
=
' '
;
}
g_skillNames
[
j
][
i
]
=
'\0'
;
for
(
i
=
0
;
i
<
MAXSKILLS
;
i
++
)
...
...
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