Browse Source

Restore Hornetgun fire phase. (#238)

hl_urbicide
Marc-Antoine Lortie 3 years ago committed by GitHub
parent
commit
1f23bff236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dlls/weapons.cpp
  2. 2
      dlls/weapons.h

1
dlls/weapons.cpp

@ -1637,6 +1637,7 @@ IMPLEMENT_SAVERESTORE( CEgon, CBasePlayerWeapon )
TYPEDESCRIPTION CHgun::m_SaveData[] = TYPEDESCRIPTION CHgun::m_SaveData[] =
{ {
DEFINE_FIELD( CHgun, m_flRechargeTime, FIELD_TIME ), DEFINE_FIELD( CHgun, m_flRechargeTime, FIELD_TIME ),
DEFINE_FIELD( CHgun, m_iFirePhase, FIELD_INTEGER ),
}; };
IMPLEMENT_SAVERESTORE( CHgun, CBasePlayerWeapon ) IMPLEMENT_SAVERESTORE( CHgun, CBasePlayerWeapon )

2
dlls/weapons.h

@ -870,7 +870,7 @@ public:
float m_flRechargeTime; float m_flRechargeTime;
int m_iFirePhase;// don't save me. int m_iFirePhase;
virtual BOOL UseDecrement( void ) virtual BOOL UseDecrement( void )
{ {

Loading…
Cancel
Save