Permalink
Browse files

- fixed sector marker initialization

This fixes a crash when starting a new game for the second time
  • Loading branch information...
alexey-lysiuk committed Jan 10, 2019
1 parent 9506b0e commit f44cf007b775bf897db99c7c20e66929dd59a9a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/g_level.cpp
@@ -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;

0 comments on commit f44cf00

Please sign in to comment.