From 99564fba9ab21186013b187633e7807cd8ed22df Mon Sep 17 00:00:00 2001 From: Blixibon Date: Tue, 7 Sep 2021 17:12:13 -0500 Subject: [PATCH] Arbeit turrets only comment on being picked up if they're not on their side (fixes turret on table in c5_2) --- sp/src/game/server/hl2/npc_turret_floor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/src/game/server/hl2/npc_turret_floor.cpp b/sp/src/game/server/hl2/npc_turret_floor.cpp index 75df025a85..eb6b4c082d 100644 --- a/sp/src/game/server/hl2/npc_turret_floor.cpp +++ b/sp/src/game/server/hl2/npc_turret_floor.cpp @@ -2669,7 +2669,7 @@ void CNPC_Arbeit_FloorTurret::OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGu { BaseClass::OnPhysGunPickup( pPhysGunUser, reason ); - if (pPhysGunUser && IRelationType( pPhysGunUser ) <= D_FR && IsAlive()) + if (pPhysGunUser && IRelationType( pPhysGunUser ) <= D_FR && (IsAlive() && !OnSide())) { SpeakIfAllowed( TLK_PICKUP ); }