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
8390996a
Commit
8390996a
authored
1 year ago
by
Zwip-Zwap Zapony
Committed by
Mari0shi
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unneeded check that prevents certain P_SKIN functionality
parent
fc342c6d
Branches
Branches containing commit
No related tags found
1 merge request
!2175
Draw Character in NiGHTS Attack
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/r_skins.c
+1
-7
1 addition, 7 deletions
src/r_skins.c
with
1 addition
and
7 deletions
src/r_skins.c
+
1
−
7
View file @
8390996a
...
@@ -646,13 +646,7 @@ static boolean R_ProcessPatchableFields(skin_t *skin, char *stoken, char *value)
...
@@ -646,13 +646,7 @@ static boolean R_ProcessPatchableFields(skin_t *skin, char *stoken, char *value)
#undef GETFLAG
#undef GETFLAG
else
if
(
!
stricmp
(
stoken
,
"natkcolor"
))
else
if
(
!
stricmp
(
stoken
,
"natkcolor"
))
{
skin
->
natkcolor
=
R_GetColorByName
(
value
);
// SKINCOLOR_NONE is allowed here
UINT16
color
=
R_GetColorByName
(
value
);
if
(
color
)
{
skin
->
natkcolor
=
color
;
}
}
else
// let's check if it's a sound, otherwise error out
else
// let's check if it's a sound, otherwise error out
{
{
...
...
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