- sound code and most of texture code converted to FileRdr.
This allowed to remove a lot of bad pointer voodoo in the music loader, because the new class does not allow duplication of the reader object
This commit is contained in:
parent
26e948357e
commit
5fa63c396d
46 changed files with 333 additions and 307 deletions
|
|
@ -232,7 +232,7 @@ void R_InitColormaps ()
|
|||
if (Wads.LumpLength (fakecmaps[j].lump) >= 256)
|
||||
{
|
||||
int k, r, g, b;
|
||||
FWadLump lump = Wads.OpenLumpNum (fakecmaps[j].lump);
|
||||
auto lump = Wads.OpenLumpReader (fakecmaps[j].lump);
|
||||
lump.Read(map, 256);
|
||||
r = g = b = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue