mirror of https://github.com/AxioDL/metaforce.git
Runtime: Wrap printf calls in #ifndef NDEBUG
This commit is contained in:
parent
e23c3d3705
commit
072ac0df16
|
@ -282,7 +282,9 @@ void CFlaahgra::DoUserAnimEvent(CStateManager& mgr, const CInt32POINode& node, E
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case EUserEventType::BeginAction: {
|
case EUserEventType::BeginAction: {
|
||||||
|
#ifndef NDEBUG
|
||||||
printf("BeginAction\n");
|
printf("BeginAction\n");
|
||||||
|
#endif
|
||||||
x8e4_26_ = true;
|
x8e4_26_ = true;
|
||||||
x7c4_ = GetEndActionTime();
|
x7c4_ = GetEndActionTime();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -69,7 +69,9 @@ void CVisorFlare::Update(float dt, const zeus::CVector3f& pos, const CActor* act
|
||||||
mgr.SetThermalColdScale2(mgr.GetThermalColdScale2() + x24_);
|
mgr.SetThermalColdScale2(mgr.GetThermalColdScale2() + x24_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
printf("%08X %f %f\n", act->GetEditorId().id, x24_, x28_);
|
printf("%08X %f %f\n", act->GetEditorId().id, x24_, x28_);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue