- fixed bad use of FScanner::GetNumber and GetFloat in code inherited from ZDoomGL.
This could lead to bad error messages if some malformed definitions were used.
This commit is contained in:
parent
de19efa79d
commit
f0dc619b5b
3 changed files with 48 additions and 48 deletions
|
|
@ -699,9 +699,9 @@ void FTextureManager::LoadTextureDefs(int wadnum, const char *lumpname)
|
|||
is32bit = !!sc.Compare("force32bit");
|
||||
if (!is32bit) sc.UnGet();
|
||||
|
||||
sc.GetNumber();
|
||||
sc.MustGetNumber();
|
||||
width = sc.Number;
|
||||
sc.GetNumber();
|
||||
sc.MustGetNumber();
|
||||
height = sc.Number;
|
||||
|
||||
if (lumpnum>=0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue