diff --git a/src/dehacked.c b/src/dehacked.c index 5db242a66..3f021847a 100644 --- a/src/dehacked.c +++ b/src/dehacked.c @@ -1159,7 +1159,7 @@ static void readlevelheader(MYFILE *f, INT32 num) else if (fastcmp(word, "MUSICPOSTBOSSTRACK")) mapheaderinfo[num-1]->muspostbosstrack = ((UINT16)i - 1); 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")) { strlcpy(mapheaderinfo[num-1]->forcecharacter, word2, SKINNAMESIZE+1);