mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-22 11:51:19 +00:00
- Fixed: To prevent the pointer cleanup code from crashing numsectors has
to be set to 0 when the sectors array is deleted. SVN r64 (trunk)
This commit is contained in:
parent
702d5bbc3e
commit
714383b6c0
1 changed files with 9 additions and 2 deletions
|
@ -575,9 +575,16 @@ void FProcessor::Write (FWadWriter &out)
|
||||||
|
|
||||||
if (ShowMap)
|
if (ShowMap)
|
||||||
{
|
{
|
||||||
ShowView (&Level);
|
if(BuildNodes||BuildGLNodes)
|
||||||
|
{
|
||||||
|
ShowView (&Level);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
puts(" ERROR: You can't view the nodes (-v) if you don't build them! (-N).");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Level.GLNodes != NULL )
|
if (Level.GLNodes != NULL )
|
||||||
{
|
{
|
||||||
compressGL = CompressGLNodes ||
|
compressGL = CompressGLNodes ||
|
||||||
|
|
Loading…
Reference in a new issue