diff --git a/sources/System/Lobby/LobbySystem.cpp b/sources/System/Lobby/LobbySystem.cpp index 3f9df0c7..f897fc3c 100644 --- a/sources/System/Lobby/LobbySystem.cpp +++ b/sources/System/Lobby/LobbySystem.cpp @@ -160,8 +160,8 @@ namespace BBM continue; auto &player = Runner::createPlayer(*scene); _addController(player, lobby.layout); - player.getComponent().position = Vector3f(mapWidth * playerCount % 2, 0, - static_cast(mapHeight * playerCount / 2)); + player.getComponent().position = Vector3f(mapWidth * (playerCount % 2), 0, + mapHeight * ((playerCount + 1) % 2)); auto *model = dynamic_cast(player.getComponent().drawable.get()); model->setTextureToMaterial(MAP_DIFFUSE, "assets/player/textures/" + _colors[lobby.color] + ".png"); playerCount++;