]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Person.cpp
Simplify crouch animations
[lugaru.git] / Source / Person.cpp
index 3f643607323b49c4f8a419b3bf85d678d384b04e..1301b8f71ab3ad51c59b1c2e981fdb702775cd26 100644 (file)
@@ -202,16 +202,6 @@ int Person::getIdle(){
        return 0;
 }
 
-bool Person::isCrouch(){
-       if(targetanimation==crouchanim||targetanimation==wolfcrouchanim)return 1;
-       else return 0;
-}
-
-
-bool Person::wasCrouch(){
-       if(currentanimation==crouchanim||currentanimation==wolfcrouchanim)return 1;
-       else return 0;
-}
 int Person::getCrouch(){
        if(creature==rabbittype)return crouchanim;
        if(creature==wolftype)return wolfcrouchanim;