mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-17 17:11:19 +00:00
- Fixed: The UDMF textmap readbuffer was never freed.
SVN r1523 (trunk)
This commit is contained in:
parent
e16fde611f
commit
c8e01f9f91
2 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
||||||
April 4, 2009
|
April 6, 2009 (Changes by Graf Zahl)
|
||||||
|
- Fixed: The UDMF textmap readbuffer was never freed.
|
||||||
|
|
||||||
|
April 4, 2009
|
||||||
- Fixed: GetPlayerInput() died if you tried to get the input of the activator
|
- Fixed: GetPlayerInput() died if you tried to get the input of the activator
|
||||||
and the activator was the world.
|
and the activator was the world.
|
||||||
|
|
||||||
|
|
|
@ -1107,6 +1107,7 @@ struct UDMFParser
|
||||||
|
|
||||||
map->Read(ML_TEXTMAP, buffer);
|
map->Read(ML_TEXTMAP, buffer);
|
||||||
sc.OpenMem(Wads.GetLumpFullName(map->lumpnum), buffer, map->Size(ML_TEXTMAP));
|
sc.OpenMem(Wads.GetLumpFullName(map->lumpnum), buffer, map->Size(ML_TEXTMAP));
|
||||||
|
delete [] buffer;
|
||||||
sc.SetCMode(true);
|
sc.SetCMode(true);
|
||||||
if (sc.CheckString("namespace"))
|
if (sc.CheckString("namespace"))
|
||||||
{
|
{
|
||||||
|
@ -1232,7 +1233,6 @@ struct UDMFParser
|
||||||
|
|
||||||
// Create the real linedefs and decompress the sidedefs
|
// Create the real linedefs and decompress the sidedefs
|
||||||
ProcessLineDefs();
|
ProcessLineDefs();
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue