]> git.jsancho.org Git - lugaru.git/commitdiff
Remove commented out code
authorAlexander Monakov <amonakov@gmail.com>
Sun, 6 Jun 2010 17:01:31 +0000 (21:01 +0400)
committerAlexander Monakov <amonakov@gmail.com>
Sun, 6 Jun 2010 17:01:31 +0000 (21:01 +0400)
Source/Person.cpp

index dcccedec0a6ccbbd60b8e690e90ff99638eb95ef..f55b400097bad76913ab38789dd405c51f71fa6c 100644 (file)
@@ -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);