diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-02-10 01:09:51 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-02-10 01:09:51 -0500 |
| commit | deb7faebbfde8117c876b7c17248c2f9fb8a8f67 (patch) | |
| tree | f536e9fde6cb068664e6a7d77beee1aaaf37dee1 /src/d/actor/d_a_player.cpp | |
| parent | 7c983ef0c70e50f5d96eeafefba89ae027183498 (diff) | |
various cleanup, fix some fakematches
Diffstat (limited to 'src/d/actor/d_a_player.cpp')
| -rw-r--r-- | src/d/actor/d_a_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_player.cpp b/src/d/actor/d_a_player.cpp index 06941152..66b73ae9 100644 --- a/src/d/actor/d_a_player.cpp +++ b/src/d/actor/d_a_player.cpp @@ -29,7 +29,7 @@ void daPy_py_c::objWindHitCheck(dCcD_Cyl* cyl) { if (cyl->ChkTgHit()) { cCcD_Obj* hitObj = cyl->GetTgHitObj(); - if (hitObj && hitObj->GetAtType() & AT_TYPE_WIND) { + if (hitObj && hitObj->ChkAtType(AT_TYPE_WIND)) { targetSpeed = *cyl->GetTgRVecP(); f32 distXZ = cyl->GetTgRVecP()->absXZ(); maxStep = 1.0f; |
