- fixed sector marker initialization

This fixes a crash when starting a new game for the second time
This commit is contained in:
alexey.lysiuk 2019-01-10 10:43:18 +02:00
parent 9506b0e337
commit f44cf007b7

View file

@ -1991,7 +1991,7 @@ class DSectorMarker : public DObject
};
DECLARE_CLASS(DSectorMarker, DObject)
public:
DSectorMarker(FLevelLocals *l) : SecNum(0),PolyNum(0),SideNum(0) {}
DSectorMarker(FLevelLocals *l) : Level(l), SecNum(0),PolyNum(0),SideNum(0) {}
size_t PropagateMark();
FLevelLocals *Level;
int SecNum;