X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FPerson.cpp;h=e20023274988cdd66e4b0ce4bbe9a338e894e841;hb=797dc38c1623b98280500df2ab37edba4effabea;hp=1301b8f71ab3ad51c59b1c2e981fdb702775cd26;hpb=cc377fcd2e0bb5bc2ea9bda2dec2210bca474dbe;p=lugaru.git diff --git a/Source/Person.cpp b/Source/Person.cpp index 1301b8f..e200232 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;