Merge branch 'readhuditem-parse-fix' into 'next'

readhuditem parse fixes

Closes #887

See merge request STJr/SRB2!1816
This commit is contained in:
sphere 2022-09-28 21:04:44 +00:00
commit 27f2b04109

View file

@ -2687,10 +2687,10 @@ void readhuditem(MYFILE *f, INT32 num)
}
else if (fastcmp(word, "F"))
{
hudinfo[num].f = i;
hudinfo[num].f = get_number(word2);
}
else
deh_warning("Level header %d: unknown word '%s'", num, word);
deh_warning("HUD item %d: unknown word '%s'", num, word);
}
} while (!myfeof(f)); // finish when the line is empty