Add hack comment

This commit is contained in:
vyuuui 2022-11-10 16:41:09 -08:00
parent 529ad0fb25
commit 8c3cdb7ce6
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ public:
, x14_knockback(knockback) , x14_knockback(knockback)
, x18_24_noImmunity(noImmunity) {} , 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, CDamageInfo(const CWeaponMode& mode, float damage, float radiusDamage, float radius, float knockback,
bool noImmunity = false) bool noImmunity = false)
: x0_weaponMode(mode) : x0_weaponMode(mode)