]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameTick.cpp
Cleaned up FootLand method
[lugaru.git] / Source / GameTick.cpp
index 85514c32be90e4b7bedfa6af0a74dbc85edf77ad..d935138b0a41ceeabe07eb896a9a6cca189b2def 100644 (file)
@@ -6686,8 +6686,8 @@ void Game::Tick()
                                 Person::players[i]->setAnimation(jumpupanim);
                                 Person::players[i]->yaw = Person::players[i]->targetyaw;
                                 Person::players[i]->transspeed = 20;
-                                Person::players[i]->FootLand(0, 1);
-                                Person::players[i]->FootLand(1, 1);
+                                Person::players[i]->FootLand(leftfoot, 1);
+                                Person::players[i]->FootLand(rightfoot, 1);
 
                                 facing = 0;
                                 facing.z = -1;