Skip to content

Commit

Permalink
Fixed Actor levitation (an animation bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
v2v3v4 authored and Xottab-DUTY committed Apr 5, 2019
1 parent 473b7d2 commit 9e71765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cs/engine/xrGame/Actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ void CActor::shedule_Update (u32 DT)
mstate_wishful &=~mcFwd;
mstate_wishful &=~mcBack;
extern bool g_bAutoClearCrouch;
if (g_bAutoClearCrouch)
if (g_bAutoClearCrouch && !(mstate_real&(mcJump | mcFall)))/// v2v3v4 ôèêñ êîãäà ìîæíî áûëî ïðûãíóâ â ïðûæêå âñòàòü ïåðåä ñàìîé çåìë¸é çàáàãîâàâ àíèìàöèþ õîäüáû (ëåâèòàöèÿ)
mstate_wishful &=~mcCrouch;
//-----------------------------------------------------
}
Expand Down

0 comments on commit 9e71765

Please sign in to comment.