Преглед изворни кода

new players do now spawn above ground

Kolja Strohm пре 8 месеци
родитељ
комит
11c3684753
1 измењених фајлова са 1 додато и 1 уклоњено
  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());