Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Client/game_sa/CWeaponInfoSA.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class CEntitySAInterface;
// Flame shot array for flamethrower flames and maybe molotovs
#define ARRAY_CFlameShotInfo 0xC89690
#define MAX_FLAME_SHOT_INFOS 100
#define FUNC_CWeaponInfo_GetWeaponReloadTime 0x743D70

class CFlameShotInfo
{
Expand Down Expand Up @@ -88,6 +89,8 @@ class CWeaponInfoSAInterface // 112 byte long class
/////////////////////////////////
BYTE m_defaultCombo; // base combo for this melee weapon
BYTE m_nCombosAvailable; // how many further combos are available

int GetWeaponReloadTime() { return ((int(__thiscall*)(CWeaponInfoSAInterface*))FUNC_CWeaponInfo_GetWeaponReloadTime)(this); }
};

class CWeaponInfoSA : public CWeaponInfo
Expand Down
Loading
Loading