mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-01 16:53:28 +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) {
|
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…
x
Reference in New Issue
Block a user