mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
readhuditem parse fixes
Fix readhuditem not parsing flags correctly Fix unknown word warning erroneously describing the HUD item as a level header
This commit is contained in:
parent
c65851d17c
commit
fe8be242d0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue