X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FPerson.cpp;h=30d4f47aa3d6a7507d1ab690b135423237cd70da;hb=429b479f57d0a432b07deb320d8f3e9e7c75c5df;hp=1301b8f71ab3ad51c59b1c2e981fdb702775cd26;hpb=cc377fcd2e0bb5bc2ea9bda2dec2210bca474dbe;p=lugaru.git diff --git a/Source/Person.cpp b/Source/Person.cpp index 1301b8f..30d4f47 100644 --- a/Source/Person.cpp +++ b/Source/Person.cpp @@ -208,16 +208,6 @@ int Person::getCrouch(){ return 0; } -bool Person::isRun(){ - if(targetanimation==runanim||targetanimation==wolfrunanim||targetanimation==wolfrunninganim||targetanimation==rabbitrunninganim)return 1; - else return 0; -} - - -bool Person::wasRun(){ - if(currentanimation==runanim||currentanimation==wolfrunanim||currentanimation==wolfrunninganim||currentanimation==rabbitrunninganim)return 1; - else return 0; -} int Person::getRun(){ if(creature==rabbittype&&(!superruntoggle||weaponactive!=-1))return runanim; if(creature==wolftype&&(!superruntoggle))return wolfrunanim; @@ -227,16 +217,6 @@ int Person::getRun(){ return 0; } -bool Person::isStop(){ - if(targetanimation==stopanim||targetanimation==wolfstopanim)return 1; - else return 0; -} - - -bool Person::wasStop(){ - if(currentanimation==stopanim||currentanimation==wolfstopanim)return 1; - else return 0; -} int Person::getStop(){ if(creature==rabbittype)return stopanim; if(creature==wolftype)return wolfstopanim;