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:
parent
168eb6ac39
commit
b05460da42
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user