pas trop loin
This commit is contained in:
parent
49c9576757
commit
f0bf7d94ce
@ -180,7 +180,7 @@ void Server::Run() {
|
|||||||
Log("Debut de la partie...", false, false);
|
Log("Debut de la partie...", false, false);
|
||||||
|
|
||||||
for (auto& [key, conn]: m_players) { // Creation des instances de joueurs et premier sync.
|
for (auto& [key, conn]: m_players) { // Creation des instances de joueurs et premier sync.
|
||||||
conn->player = new Player(Vector3f(32.5f, CHUNK_SIZE_Y + 1.8f, 32.5f));
|
conn->player = new Player(Vector3f(8.5f, CHUNK_SIZE_Y + 1.8f, 8.5f));
|
||||||
Player *player = conn->player;
|
Player *player = conn->player;
|
||||||
Sync sync;
|
Sync sync;
|
||||||
sync.position = player->GetPosition();
|
sync.position = player->GetPosition();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user