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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user