Fix crash when switching from a level with lightmaps to one without
This commit is contained in:
parent
54b8dbc0b3
commit
d435c9c144
6 changed files with 18 additions and 6 deletions
|
|
@ -238,6 +238,10 @@ DoomLevelMesh::DoomLevelMesh(FLevelLocals& doomMap)
|
|||
r_viewpoint.camera = oldcamera;
|
||||
}
|
||||
|
||||
DoomLevelMesh::~DoomLevelMesh()
|
||||
{
|
||||
}
|
||||
|
||||
void DoomLevelMesh::SetLimits(FLevelLocals& doomMap)
|
||||
{
|
||||
// Try to estimate what the worst case memory needs are for the level
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ class DoomLevelMesh : public LevelMesh, public UpdateLevelMesh
|
|||
{
|
||||
public:
|
||||
DoomLevelMesh(FLevelLocals &doomMap);
|
||||
~DoomLevelMesh();
|
||||
|
||||
void PrintSurfaceInfo(const LevelMeshSurface* surface);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue