This commit is contained in:
yellowtd 2017-03-11 19:04:58 -05:00
parent 191bd8ec41
commit 2247de431c

View file

@ -1325,15 +1325,15 @@ static void readlevelheader(MYFILE *f, INT32 num)
// miru: we can build custom map header words here // miru: we can build custom map header words here
else if (fastcmp(word, "LEVELWIPE")) else if (fastcmp(word, "LEVELWIPE"))
{ {
mapheaderinfo[num-1]->levelwipe = (INT16)i; mapheaderinfo[num-1]->levelwipe = (UINT8)i;
} }
else if (fastcmp(word, "POSTLEVELWIPE")) else if (fastcmp(word, "POSTLEVELWIPE"))
{ {
mapheaderinfo[num-1]->postlevelwipe = (INT16)i; mapheaderinfo[num-1]->postlevelwipe = (UINT8)i;
} }
else if (fastcmp(word, "WIPECOLOR")) else if (fastcmp(word, "WIPECOLOR"))
{ {
mapheaderinfo[num-1]->wipecolor = (INT16)i; mapheaderinfo[num-1]->wipecolor = (UINT8)i;
} }
else else
deh_warning("Level header %d: unknown word '%s'", num, word); deh_warning("Level header %d: unknown word '%s'", num, word);