CStateManager: Move collision debug drawing into NDEBUG condition

This commit is contained in:
Luke Street 2020-12-18 06:08:54 -05:00
parent 168eb6ac39
commit b05460da42
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,6 @@ void CStateManager::DrawDebugStuff() const {
if (xf70_currentMaze) {
xf70_currentMaze->DebugRender();
}
#endif
for (CEntity* ent : GetActorObjectList()) {
if (const TCastToPtr<CCollisionActor> colAct = ent) {
@ -571,6 +570,7 @@ void CStateManager::DrawDebugStuff() const {
colAct->DebugDraw();
}
}
#endif
}
void CStateManager::RenderCamerasAndAreaLights() {