Explorar o código

new players do now spawn above ground

Kolja Strohm hai 8 meses
pai
achega
11c3684753
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      FactoryCraft/Game.cpp

+ 1 - 1
FactoryCraft/Game.cpp

@@ -1093,7 +1093,7 @@ GameClient* Game::addPlayer(FCKlient* client, Framework::Text name)
                              --h},
                 player->getDimensionId());
         player->setPosition(
-            {player->getPosition().x, player->getPosition().y, (float)h + 1.f});
+            {player->getPosition().x, player->getPosition().y, (float)h + 2.f});
     }
     requestWorldUpdate(new AddEntityUpdate(player, player->getDimensionId()));
     chat->addObserver(gameClient->zEntity()->getId());