mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +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…
Add table
Reference in a new issue