Skip to content

Commit

Permalink
Check if player in underwater for GetPositionType function (#5)
Browse files Browse the repository at this point in the history
* Declare waterlevel and walking variables in PlayerData struct

* Check if player in underwater for GetPositionType function

* Use PM_PointContents to determine if we are in water

* Check for waterlevel == 1

* Check for waterlevel 1 and 2

Co-authored-by: hobokenn <50155487+hobokenn@users.noreply.github.com>
  • Loading branch information
SmileyAG and hobokenn authored Dec 5, 2022
1 parent 2e93b7c commit 2f9f5d8
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 66 deletions.
Loading

0 comments on commit 2f9f5d8

Please # to comment.