瀏覽代碼

new players do now spawn above ground

Kolja Strohm 2 月之前
父節點
當前提交
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());