Skip to content

More efficient water detection, fix deprecations#118

Open
NexiusTailer wants to merge 2 commits intoPottus:masterfrom
NexiusTailer:master
Open

More efficient water detection, fix deprecations#118
NexiusTailer wants to merge 2 commits intoPottus:masterfrom
NexiusTailer:master

Conversation

@NexiusTailer
Copy link
Contributor

Changes for CA_IsPlayerInWater and CA_IsVehicleInWater functions:

  • Water submerge detection eliminated nested loops, now using single pass
  • Additional depth and playerdepth/vehicledepth parameters can be skipped
  • Both player and vehicle functions got the same changes

Fixes for foreach / y_iterate support:

  • Fix Iter_SafeRemove deprecation in #105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant