Fix player height (not working with scale)

This commit is contained in:
2016-05-26 18:53:36 +02:00
parent 2b0e22d4c9
commit 1c59a3bc6f
8 changed files with 44 additions and 13 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ void CrystalPoint::update()
if (!worldhandler->isPlayerPositionValid())
player->position = oldPosition;
player->position.y = worldhandler->getHeight(player->position.x, player->position.z);
player->position.y = worldhandler->getHeight(player->position.x, player->position.z) + 1.7f;
worldhandler->update(deltaTime);