Skip to content

Commit

Permalink
Fix bit shift
Browse files Browse the repository at this point in the history
  • Loading branch information
Capostrophic committed Sep 14, 2023
1 parent f271c43 commit 2f8229a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/nif/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ namespace Nif
if (nif->getVersion() >= NIFStream::generateVersion(10, 1, 0, 0))
nif->read(mPathFlags);
else
mPathFlags = (mFlags >> 16);
mPathFlags = (mFlags >> 4);

nif->read(mBankDirection);
nif->read(mMaxBankAngle);
Expand Down

0 comments on commit 2f8229a

Please sign in to comment.