Fix NearPed count going negative #1236

Merged
Nopey merged 1 commits from fix_nearPeds into master 3 years ago
Nopey commented 3 years ago (Migrated from github.com)

Deconstructing peds would attempt to remove themselves from their nearPeds, but would fail to remove themselves from any near peds' nearPeds list if the deconstructing ped was in the final position of nearPeds, and only decrement the near ped's numNearPeds.

Deconstructing peds would attempt to remove themselves from their nearPeds, but would fail to remove themselves from any near peds' nearPeds list if the deconstructing ped was in the final position of nearPeds, and only decrement the near ped's numNearPeds.
erorcun commented 3 years ago (Migrated from github.com)

Thanks.

Thanks.
This repo is archived. You cannot comment on pull requests.
Loading…
There is no content yet.