2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-02 06:14:22 +00:00

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

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() {