Runtime: Wrap printf calls in #ifndef NDEBUG

This commit is contained in:
Luke Street 2020-04-11 02:35:55 -04:00
parent e23c3d3705
commit 072ac0df16
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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
} }
} }