Francisco Muñoz 53d26a7ea5
API: CSPlayerWeapon integration + new members and functions (#850)
- Member name changed to m_iStateSecondaryAttack
- Member type changed to uint8_t which has same size of bool but allows more values than true or false (this wont break API compatibility)
- Moved logic inside HasSecondaryAttack to correctly alter function return based on m_iStateSecondaryAttack, which can be (0) no value / null (1) set (2) block
-Removed logic in CBasePlayerWeapon::Spawn that caches the return value of HasSecondaryAttack, as this can only be overridden when set, rather than always
* Improve API compatibility
2023-08-23 21:27:35 +07:00
..
2019-09-23 04:09:58 +07:00
2016-12-24 19:09:50 +07:00
2019-09-23 04:09:58 +07:00
2018-05-22 18:17:30 +07:00
2017-11-01 18:30:47 +03:00
2020-02-06 04:32:20 +07:00