Cast defaultcolor to UINT8

This commit is contained in:
Latapostrophe 2020-05-04 18:18:45 +02:00
parent 766f7f035f
commit c687f3088e

View file

@ -766,7 +766,7 @@ static void readfollower(MYFILE *f)
else if (fastcmp(word, "DEFAULTCOLOR"))
{
DEH_WriteUndoline(word, va("%d", followers[numfollowers].defaultcolor), UNDO_NONE);
followers[numfollowers].defaultcolor = get_number(word2);
followers[numfollowers].defaultcolor = (UINT8)get_number(word2);
}
else if (fastcmp(word, "SCALE"))