MantisBT - Zandronum
View Issue Details
0001325Zandronum[All Projects] Bugpublic2013-04-16 13:362014-06-13 17:58
Positron 
 
normalminoralways
feedbackopen 
LinuxUbuntu10.04 x86-64
1.0 
 
0001325: Module loaded through LOADACS missing error check
When a module is loaded through LOADACS, certain error checks are missing. A
faulty module will also run.

The following code fragment, that does the error checking and cleanup, is
missing from the code that loads a module through LOADACS:

file: p_setup.cpp
function: P_LoadBehavior
code:
   if (!FBehavior::StaticCheckAllGood ())
   {
      Printf ("ACS scripts unloaded.\n");
      FBehavior::StaticUnloadModules ();
   }

This code is only executed for maps with a BEHAVIOR lump. So if you load a
faulty library through LOADACS while using just the doom2.wad, which has maps
without the BEHAVIOR lump, the error check will be skipped.
No tags attached.
Issue History
2013-04-16 13:36PositronNew Issue
2013-04-16 14:18WatermelonNote Added: 0006287
2013-04-16 21:05Edward-sanNote Added: 0006289
2014-06-13 17:58WatermelonNote Added: 0009234
2014-06-13 17:58WatermelonStatusnew => feedback

Notes
(0006287)
Watermelon   
2013-04-16 14:18   
Is this fixed on ZDoom?
(0006289)
Edward-san   
2013-04-16 21:05   
The code in question is still in zdoom svn, so probably it happens there, too. Can you post an example wad with this?
(0009234)
Watermelon   
2014-06-13 17:58   
Any updates on this?