From f956e6e618a4b8036b65431455d6ee4fcb5c5399 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 30 Mar 2021 22:03:18 -0400 Subject: [PATCH] COmegaPirate: Remove debug print --- Runtime/MP1/World/COmegaPirate.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Runtime/MP1/World/COmegaPirate.cpp b/Runtime/MP1/World/COmegaPirate.cpp index 110d23da2..7805fdcac 100644 --- a/Runtime/MP1/World/COmegaPirate.cpp +++ b/Runtime/MP1/World/COmegaPirate.cpp @@ -599,7 +599,6 @@ void COmegaPirate::JumpBack(CStateManager& mgr, EStateMsg msg, float dt) { } bool COmegaPirate::Landed(CStateManager& mgr, float arg) { - fmt::print(FMT_STRING("OMEGA: {} pieces healed\n"), xb4c_armorPiecesHealed); return xb4c_armorPiecesHealed == 4; } @@ -1161,10 +1160,7 @@ void COmegaPirate::TeleportToFurthestPlatform(CStateManager& mgr) { zeus::CVector3f COmegaPirate::FindGround(const zeus::CVector3f& pos, CStateManager& mgr) const { auto result = mgr.RayStaticIntersection(pos, zeus::skDown, 30.f, CMaterialFilter::MakeInclude(EMaterialTypes::Solid)); - if (result.IsValid()) { - return result.GetPoint(); - } - return pos; + return result.IsValid() ? result.GetPoint() : pos; } void COmegaPirate::UpdateNormalAlpha(CStateManager& mgr, float dt) {