mirror of https://github.com/AxioDL/metaforce.git
CStateManager: Move collision debug drawing into NDEBUG condition
This commit is contained in:
parent
168eb6ac39
commit
b05460da42
|
@ -561,7 +561,6 @@ void CStateManager::DrawDebugStuff() const {
|
||||||
if (xf70_currentMaze) {
|
if (xf70_currentMaze) {
|
||||||
xf70_currentMaze->DebugRender();
|
xf70_currentMaze->DebugRender();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
for (CEntity* ent : GetActorObjectList()) {
|
for (CEntity* ent : GetActorObjectList()) {
|
||||||
if (const TCastToPtr<CCollisionActor> colAct = ent) {
|
if (const TCastToPtr<CCollisionActor> colAct = ent) {
|
||||||
|
@ -571,6 +570,7 @@ void CStateManager::DrawDebugStuff() const {
|
||||||
colAct->DebugDraw();
|
colAct->DebugDraw();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void CStateManager::RenderCamerasAndAreaLights() {
|
void CStateManager::RenderCamerasAndAreaLights() {
|
||||||
|
|
Loading…
Reference in New Issue