mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-30 14:47:57 +03:00
Added a comment in CondMinChargeTime about the crash fix
This commit is contained in:
parent
cbeaeba828
commit
065ab98175
1 changed files with 2 additions and 0 deletions
|
@ -570,6 +570,8 @@ qboolean Player::CondMinChargeTime(Conditional& condition)
|
|||
|
||||
if (hand != WEAPON_ERROR) {
|
||||
weap = GetActiveWeapon(hand);
|
||||
// Fixed in 2.0.
|
||||
// Make sure the active weapon is valid
|
||||
if (weap) {
|
||||
float charge_time = weap->GetMinChargeTime(FIRE_PRIMARY);
|
||||
if (charge_time) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue