From 0474a314d70169d8fcabfbd98a5885bc2e5e85f6 Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Sun, 6 Jun 2010 21:01:31 +0400 Subject: [PATCH] Remove commented out code --- Source/Person.cpp | 15 --------------- 1 file changed, 15 deletions(-) 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); -- 2.39.5