]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameTick.cpp
Using the right type for animation height and type
[lugaru.git] / Source / GameTick.cpp
index 06a59fb96a52a3bd2a6f6a4b96124b59412c2e0d..8ec62250fe9f871e7716958c9e8436b84d4b75bf 100644 (file)
@@ -1159,7 +1159,7 @@ void Game::Loadlevel(const std::string& name)
             Person::players[i]->proportionlegs.z = 0;
         }
 
-        Person::players[i]->tempanimation = Animation("Tempanim", 0, 0);
+        Person::players[i]->tempanimation = Animation("Tempanim", lowheight, neutral);
 
         if (i == 0) {
             Person::players[i]->headmorphness = 0;
@@ -2238,7 +2238,7 @@ void doDebugKeys()
                     Person::players.back()->proportionlegs.z = 0;
                 }
 
-                Person::players.back()->tempanimation = Animation("Tempanim", 0, 0);
+                Person::players.back()->tempanimation = Animation("Tempanim", lowheight, neutral);
 
                 Person::players.back()->damagetolerance = 200;