You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Managers/SceneMan.cpp
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -437,9 +437,10 @@ void SceneMan::Destroy()
437
437
438
438
Vector SceneMan::GetSceneDim() const
439
439
{
440
-
if (m_pCurrentScene)
441
-
RTEAssert(m_pCurrentScene->GetTerrain() && m_pCurrentScene->GetTerrain()->GetBitmap(), "Trying to get terrain info before there is a scene or terrain!");
442
-
return m_pCurrentScene->GetDimensions();
440
+
if (m_pCurrentScene) {
441
+
RTEAssert(m_pCurrentScene->GetTerrain() && m_pCurrentScene->GetTerrain()->GetBitmap(), "Trying to get terrain info before there is a scene or terrain!");
0 commit comments