Fixed spr2 freslot logic bug.

This commit is contained in:
Yukita Mayako 2015-11-10 20:33:01 -05:00
parent 14e8ac702f
commit 24ab56691e
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ static void readfreeslots(MYFILE *f)
break;
}
}
else if (fastcmp(type, "SPR2_"))
else if (fastcmp(type, "SPR2"))
{
// Search if we already have an SPR2 by that name...
for (i = SPR_FIRSTFREESLOT; i < free_spr2; i++)