2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 02:27:42 +00:00

Runtime: Wrap fmt::print calls in #ifndef NDEBUG

This commit is contained in:
2020-04-11 02:25:41 -04:00
parent 11d948943d
commit e23c3d3705
3 changed files with 8 additions and 2 deletions

View File

@@ -394,7 +394,9 @@ void CScriptGunTurret::SetTurretState(ETurretState state, CStateManager& mgr) {
}
if (state != ETurretState::Invalid && x520_state != state) {
#ifndef NDEBUG
fmt::print(fmt("{} {} {} - {}\n"), GetUniqueId(), GetEditorId(), GetName(), StateNames[size_t(state)]);
#endif
}
x520_state = state;