mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-29 06:01:03 +00:00
check spr2names not sprnames, whoops
This commit is contained in:
parent
c2f03c5953
commit
d91471b053
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ static int libd_getSprite2Patch(lua_State *L)
|
|||
{
|
||||
const char *name = lua_tostring(L, 1);
|
||||
for (j = 0; j < free_spr2; j++)
|
||||
if (fastcmp(name, sprnames[j]))
|
||||
if (fastcmp(name, spr2names[j]))
|
||||
break;
|
||||
if (j >= free_spr2)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue