From: Alexander Monakov Date: Sun, 6 Jun 2010 17:01:31 +0000 (+0400) Subject: Remove commented out code X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=0474a314d70169d8fcabfbd98a5885bc2e5e85f6;p=lugaru.git Remove commented out code --- diff --git a/Source/Person.cpp b/Source/Person.cpp index dcccede..f55b400 100644 --- a/Source/Person.cpp +++ b/Source/Person.cpp @@ -6331,21 +6331,6 @@ void Person::DoStuff(){ velocity=flatfacing*velspeed; } - /*if(creature==wolftype) - if(isRun()){ - velocity+=facing*multiplier*speed*700*scale; - velspeed=findLength(&velocity); - if(velspeed>speed*55*scale){ - velocity/=velspeed; - velspeed=speed*55*scale; - velocity*=velspeed; - } - velocity.y+=gravity*multiplier*20; - ReflectVector(&velocity,terrain.getNormal(coords.x,coords.z)); - velspeed=findLength(&velocity); - velocity=flatfacing*velspeed; - }*/ - if(targetanimation==rollanim&&animation[targetanimation].label[targetframe]!=6){ velocity+=facing*multiplier*speed*700*scale; velspeed=findLength(&velocity);