From 84e4e3c3cc6bf0724242d3f28827af8661594aae Mon Sep 17 00:00:00 2001 From: Biohazard Date: Sun, 29 Sep 2013 18:02:35 +0200 Subject: [PATCH] - disabled physgun viewmodel effects --- sp/src/game/client/hl2/c_weapon_physcannon.cpp | 2 ++ sp/src/game/server/hl2/weapon_physcannon.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/sp/src/game/client/hl2/c_weapon_physcannon.cpp b/sp/src/game/client/hl2/c_weapon_physcannon.cpp index 0953292c7..067f006d9 100644 --- a/sp/src/game/client/hl2/c_weapon_physcannon.cpp +++ b/sp/src/game/client/hl2/c_weapon_physcannon.cpp @@ -210,6 +210,8 @@ void ComputeRenderInfo( mstudiobbox_t *pHitBox, const matrix3x4_t &hitboxToWorld //----------------------------------------------------------------------------- int C_WeaponPhysCannon::DrawModel( int flags ) { + return BaseClass::DrawModel( flags ); // GSTRINGMIGRATION + // If we're not ugrading, don't do anything special if ( m_bIsCurrentlyUpgrading == false && m_bWasUpgraded == false ) return BaseClass::DrawModel( flags ); diff --git a/sp/src/game/server/hl2/weapon_physcannon.cpp b/sp/src/game/server/hl2/weapon_physcannon.cpp index 7283bdebc..f09f74f4d 100644 --- a/sp/src/game/server/hl2/weapon_physcannon.cpp +++ b/sp/src/game/server/hl2/weapon_physcannon.cpp @@ -3711,6 +3711,9 @@ void CWeaponPhysCannon::StopEffects( bool stopSound ) //----------------------------------------------------------------------------- void CWeaponPhysCannon::StartEffects( void ) { + return; // GSTRINGMIGRATION + + CBasePlayer *pOwner = ToBasePlayer( GetOwner() ); if ( pOwner == NULL ) return;