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
2d9b0e49
Commit
2d9b0e49
authored
4 years ago
by
Nev3r
Browse files
Options
Downloads
Patches
Plain Diff
Fix the args in Tag_FindLineSpecial() being swapped.
parent
439fde34
Loading
Loading
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/taglist.c
+1
-1
1 addition, 1 deletion
src/taglist.c
src/taglist.h
+1
-1
1 addition, 1 deletion
src/taglist.h
with
2 additions
and
2 deletions
src/taglist.c
+
1
−
1
View file @
2d9b0e49
...
...
@@ -112,7 +112,7 @@ INT32 Tag_Iterate_Things (const INT16 tag, const size_t p)
return
-
1
;
}
INT32
Tag_FindLineSpecial
(
const
INT16
tag
,
const
INT16
special
)
INT32
Tag_FindLineSpecial
(
const
INT16
special
,
const
INT16
tag
)
{
TAG_ITER_C
INT32
i
;
...
...
This diff is collapsed.
Click to expand it.
src/taglist.h
+
1
−
1
View file @
2d9b0e49
...
...
@@ -32,7 +32,7 @@ INT32 Tag_Iterate_Sectors (const INT16 tag, const size_t p);
INT32
Tag_Iterate_Lines
(
const
INT16
tag
,
const
size_t
p
);
INT32
Tag_Iterate_Things
(
const
INT16
tag
,
const
size_t
p
);
INT32
Tag_FindLineSpecial
(
const
INT16
tag
,
const
INT16
special
);
INT32
Tag_FindLineSpecial
(
const
INT16
special
,
const
INT16
tag
);
#define TAG_ITER_C size_t kkkk;
#define TAG_ITER(fn, tag, id) for(kkkk = 0; (id = fn(tag, kkkk)) >= 0; kkkk++)
...
...
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