Add hack comment

Former-commit-id: 8c3cdb7ce6
This commit is contained in:
vyuuui 2022-11-10 16:41:09 -08:00
parent c46d0d0ae7
commit 7e6cdd6129
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ public:
, x14_knockback(knockback)
, x18_24_noImmunity(noImmunity) {}
// HACK: This constructor exists to fix CWeapon::Think writing xc_radiusDamage as a double
CDamageInfo(const CWeaponMode& mode, float damage, float radiusDamage, float radius, float knockback,
bool noImmunity = false)
: x0_weaponMode(mode)