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
Merge requests
!854
Fix lib_setSpriteInfo indexes being off-by-one
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix lib_setSpriteInfo indexes being off-by-one
fix-setspriteinfo
into
next
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Lactozilla
requested to merge
fix-setspriteinfo
into
next
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
1
0
Merge request reports
Compare
next
next (base)
and
latest version
latest version
5eaa73b6
1 commit,
5 years ago
1 file
+
0
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/lua_infolib.c
+
0
−
3
Options
@@ -389,10 +389,7 @@ static int lib_setSpriteInfo(lua_State *L)
lua_Integer
i
=
0
;
const
char
*
str
=
NULL
;
if
(
lua_isnumber
(
L
,
2
))
{
i
=
lua_tointeger
(
L
,
2
);
i
++
;
// shift index in case of missing rotsprite support
}
else
str
=
luaL_checkstring
(
L
,
2
);
Loading