Self-review: Correctly initialised gamedata spraycan map id in clear_Levels

This commit is contained in:
toaster 2023-08-24 01:16:14 +01:00
parent 595b3d67d5
commit 9076b3c99b

View file

@ -220,7 +220,7 @@ void clear_levels(void)
{
UINT16 i;
for (i = 0; i < gamedata->numspraycans; i++)
gamedata->spraycans[i].map = 0;
gamedata->spraycans[i].map = NEXTMAP_INVALID;
}
// Exit the current gamemap as a safeguard