Fixed spr2 freslot logic bug.

This commit is contained in:
Yukita Mayako 2015-11-10 20:33:01 -05:00
parent 14e8ac702f
commit 24ab56691e

View file

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