Missed a null check.
This commit is contained in:
parent
508bc4711b
commit
230d7192c3
3 changed files with 4 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ Class SWWMStaticHandler : StaticEventHandler
|
|||
SWWMHandler.ClearAllShaders();
|
||||
EventHandler.SendInterfaceEvent(consoleplayer,"swwmflushhud");
|
||||
EventHandler.SendInterfaceEvent(consoleplayer,"swwmaprcheck");
|
||||
// quick fix for old savegames
|
||||
// quick fix for old savegames (to be removed in 1.3 release)
|
||||
let hnd = SWWMHandler(EventHandler.Find("SWWMHandler"));
|
||||
if ( hnd && (hnd.sbounds.Size() <= 0) )
|
||||
hnd.PrecalculateSectorBounds();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue