Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SSNTails
SRB2
Commits
21b8acf7
Commit
21b8acf7
authored
1 year ago
by
Zwip-Zwap Zapony
Committed by
Hanicef
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Change P_MobjWasRemoved to P_RemoveMobj in the error message (thanks Zwip-Zwap Zapony)
parent
e1d15b5e
Branches
Branches containing commit
Tags
SRB2_release_2.1.3
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lua_maplib.c
+1
-1
1 addition, 1 deletion
src/lua_maplib.c
with
1 addition
and
1 deletion
src/lua_maplib.c
+
1
−
1
View file @
21b8acf7
...
@@ -487,7 +487,7 @@ static int lib_iterateSectorThinglist(lua_State *L)
...
@@ -487,7 +487,7 @@ static int lib_iterateSectorThinglist(lua_State *L)
{
{
thing
=
*
((
mobj_t
**
)
luaL_checkudata
(
L
,
1
,
META_MOBJ
));
thing
=
*
((
mobj_t
**
)
luaL_checkudata
(
L
,
1
,
META_MOBJ
));
if
(
P_MobjWasRemoved
(
thing
))
if
(
P_MobjWasRemoved
(
thing
))
return
luaL_error
(
L
,
"current entry in thinglist was removed; avoid calling P_
MobjWas
Remove
d
on entries!"
);
return
luaL_error
(
L
,
"current entry in thinglist was removed; avoid calling P_Remove
Mobj
on entries!"
);
thing
=
thing
->
snext
;
thing
=
thing
->
snext
;
}
}
else
else
...
...
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