From 750f93c257c5ca1c1c2705108c3083a9cfd87460 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Fri, 14 Oct 2016 01:46:42 +0500 Subject: [PATCH] Fix build. --- dlls/effects.h | 2 +- dlls/weapons.cpp | 8 ++++---- dlls/weapons.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/effects.h b/dlls/effects.h index d1225aa2..303fb0c3 100644 --- a/dlls/effects.h +++ b/dlls/effects.h @@ -325,7 +325,7 @@ public: Vector m_firePosition; }; -/ Screen shake +// Screen shake class CShake : public CPointEntity { public: diff --git a/dlls/weapons.cpp b/dlls/weapons.cpp index cd4566b7..bc62bcd1 100644 --- a/dlls/weapons.cpp +++ b/dlls/weapons.cpp @@ -1578,7 +1578,7 @@ void CBasePlayerWeapon::PrintState( void ) ALERT( at_console, "m_iclip: %i\n", m_iClip ); } - +/* TYPEDESCRIPTION CRpg::m_SaveData[] = { DEFINE_FIELD( CRpg, m_fSpotActive, FIELD_INTEGER ), @@ -1586,7 +1586,7 @@ TYPEDESCRIPTION CRpg::m_SaveData[] = }; IMPLEMENT_SAVERESTORE( CRpg, CBasePlayerWeapon ) - +*/ TYPEDESCRIPTION CRpgRocket::m_SaveData[] = { DEFINE_FIELD( CRpgRocket, m_flIgniteTime, FIELD_TIME ), @@ -1605,7 +1605,7 @@ TYPEDESCRIPTION CShotgun::m_SaveData[] = }; IMPLEMENT_SAVERESTORE( CShotgun, CBasePlayerWeapon ) - +/* TYPEDESCRIPTION CGauss::m_SaveData[] = { DEFINE_FIELD( CGauss, m_fInAttack, FIELD_INTEGER ), @@ -1636,4 +1636,4 @@ TYPEDESCRIPTION CSatchel::m_SaveData[] = DEFINE_FIELD( CSatchel, m_chargeReady, FIELD_INTEGER ), }; -IMPLEMENT_SAVERESTORE( CSatchel, CBasePlayerWeapon ) +IMPLEMENT_SAVERESTORE( CSatchel, CBasePlayerWeapon )*/ diff --git a/dlls/weapons.h b/dlls/weapons.h index df45962f..5ece0842 100644 --- a/dlls/weapons.h +++ b/dlls/weapons.h @@ -689,7 +689,7 @@ public: float m_flIgniteTime; CRpg *m_pLauncher;// pointer back to the launcher that fired me. }; - +/* class CGauss : public CBasePlayerWeapon { public: @@ -892,7 +892,7 @@ public: #endif } }; - +*/ class CTripmine : public CBasePlayerWeapon { public: