Skip to content

Commit

Permalink
- fixed sector marker initialization
Browse files Browse the repository at this point in the history
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 f44cf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_level.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit f44cf00

Please sign in to comment.