mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 19:50:45 +00:00
Stats(except displaying), PlayerInfo, marker fix
This commit is contained in:
@ -4730,9 +4730,11 @@ CPed::InflictDamage(CEntity *damagedBy, eWeaponType method, float damage, ePedPi
|
||||
} else {
|
||||
CDarkel::RegisterKillNotByPlayer(this, method);
|
||||
}
|
||||
if (method == WEAPONTYPE_DROWNING)
|
||||
if (method == WEAPONTYPE_DROWNING) {
|
||||
bIsInTheAir = false;
|
||||
// TODO(Miami): timesDrowned
|
||||
if (FindPlayerPed() == this)
|
||||
CStats::TimesDrowned++;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user