mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
CScriptMazeNode: Fix reversed enter/target & add debug rendering
This commit is contained in:
@@ -537,6 +537,7 @@ void CStateManager::BuildDynamicLightListForWorld() {
|
||||
|
||||
void CStateManager::DrawDebugStuff() const {
|
||||
#ifndef NDEBUG
|
||||
CGraphics::SetModelMatrix(zeus::CTransform());
|
||||
for (CEntity* ent : GetActorObjectList()) {
|
||||
if (const TCastToPtr<CPatterned> ai = ent) {
|
||||
if (CPathFindSearch* path = ai->GetSearchPath()) {
|
||||
@@ -544,6 +545,9 @@ void CStateManager::DrawDebugStuff() const {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (xf70_currentMaze) {
|
||||
xf70_currentMaze->DebugRender();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user