mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 04:54:08 +00:00
Stats(except displaying), PlayerInfo, marker fix
This commit is contained in:
parent
cdebea71f3
commit
b54bb62c94
25 changed files with 952 additions and 331 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue