From f373d959ad8b687ca9f23b4663ba140223b79dd8 Mon Sep 17 00:00:00 2001 From: Rain Date: Tue, 20 Jan 2026 04:49:06 +0200 Subject: [PATCH] Fix outdated warning for bad m_iOwningTeam --- src/game/shared/neo/neo_ghost_cap_point.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/game/shared/neo/neo_ghost_cap_point.cpp b/src/game/shared/neo/neo_ghost_cap_point.cpp index 1e246a2c76..c9e4e68855 100644 --- a/src/game/shared/neo/neo_ghost_cap_point.cpp +++ b/src/game/shared/neo/neo_ghost_cap_point.cpp @@ -167,8 +167,10 @@ void CNEOGhostCapturePoint::Spawn(void) { // We could recover, but it's probably better to break the capzone // and throw a nag message in console so the mapper can fix their error. - Warning("Capzone had an invalid owning team: %i. Expected %i (Jinrai), or %i (NSF).\n", - m_iOwningTeam.Get(), NEO_FGD_TEAMNUM_ATTACKER, NEO_FGD_TEAMNUM_DEFENDER); + Warning("Capzone at position %.1f %.1f %.1f had an invalid owning team: %i. " + "Expected %i (Jinrai), %i (NSF), or %i (neutral).\n", + GetAbsOrigin().x, GetAbsOrigin().y, GetAbsOrigin().z, + m_iOwningTeam.Get(), NEO_FGD_TEAMNUM_ATTACKER, NEO_FGD_TEAMNUM_DEFENDER, NEO_FGD_TEAMNUM_NEUTRAL); // Nobody will be able to cap here. m_iOwningTeam = TEAM_INVALID;