UINT32 muspostbosspos fix

This commit is contained in:
mazmazz 2018-08-25 16:28:56 -04:00
parent 493bc86b08
commit 7d882c482f

View file

@ -1159,7 +1159,7 @@ static void readlevelheader(MYFILE *f, INT32 num)
else if (fastcmp(word, "MUSICPOSTBOSSTRACK")) else if (fastcmp(word, "MUSICPOSTBOSSTRACK"))
mapheaderinfo[num-1]->muspostbosstrack = ((UINT16)i - 1); mapheaderinfo[num-1]->muspostbosstrack = ((UINT16)i - 1);
else if (fastcmp(word, "MUSICPOSTBOSSPOS")) else if (fastcmp(word, "MUSICPOSTBOSSPOS"))
mapheaderinfo[num-1]->muspostbosspos = (UINT8)get_number(word2); mapheaderinfo[num-1]->muspostbosspos = (UINT32)get_number(word2);
else if (fastcmp(word, "FORCECHARACTER")) else if (fastcmp(word, "FORCECHARACTER"))
{ {
strlcpy(mapheaderinfo[num-1]->forcecharacter, word2, SKINNAMESIZE+1); strlcpy(mapheaderinfo[num-1]->forcecharacter, word2, SKINNAMESIZE+1);