- rewrote the operator>> methods of FileReader as normal functions for clarity.
This commit is contained in:
parent
833dbee167
commit
0be1ed252b
12 changed files with 150 additions and 133 deletions
|
|
@ -814,9 +814,8 @@ void FTextureManager::AddTexturesLump (const void *lumpdata, int lumpsize, int d
|
|||
}
|
||||
|
||||
{
|
||||
auto pnames = Wads.OpenLumpReader (patcheslump);
|
||||
|
||||
pnames >> numpatches;
|
||||
auto pnames = Wads.OpenLumpReader(patcheslump);
|
||||
numpatches = pnames.ReadUInt32();
|
||||
|
||||
// Check whether the amount of names reported is correct.
|
||||
if ((signed)numpatches < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue