Browse Source

Fix build.

noffice
Night Owl 8 years ago
parent
commit
750f93c257
  1. 2
      dlls/effects.h
  2. 8
      dlls/weapons.cpp
  3. 4
      dlls/weapons.h

2
dlls/effects.h

@ -325,7 +325,7 @@ public: @@ -325,7 +325,7 @@ public:
Vector m_firePosition;
};
/ Screen shake
// Screen shake
class CShake : public CPointEntity
{
public:

8
dlls/weapons.cpp

@ -1578,7 +1578,7 @@ void CBasePlayerWeapon::PrintState( void ) @@ -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[] = @@ -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[] = @@ -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[] = @@ -1636,4 +1636,4 @@ TYPEDESCRIPTION CSatchel::m_SaveData[] =
DEFINE_FIELD( CSatchel, m_chargeReady, FIELD_INTEGER ),
};
IMPLEMENT_SAVERESTORE( CSatchel, CBasePlayerWeapon )
IMPLEMENT_SAVERESTORE( CSatchel, CBasePlayerWeapon )*/

4
dlls/weapons.h

@ -689,7 +689,7 @@ public: @@ -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: @@ -892,7 +892,7 @@ public:
#endif
}
};
*/
class CTripmine : public CBasePlayerWeapon
{
public:

Loading…
Cancel
Save