diff -up scorchwentbonkers-1.3/src/game/FragGame.cpp~ scorchwentbonkers-1.3/src/game/FragGame.cpp --- scorchwentbonkers-1.3/src/game/FragGame.cpp~ 2013-06-06 18:31:11.000000000 +0200 +++ scorchwentbonkers-1.3/src/game/FragGame.cpp 2016-02-21 11:10:53.824739449 +0100 @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -121,7 +122,7 @@ void FragGame::respawnPlayers() xCoord = randomFloat(40.0, 760.0); positionOK = true; for (int j = 0; j < playerCount; j++) - if (abs(tanks[j]->getX() - xCoord) < 68.0) + if (fabs(tanks[j]->getX() - xCoord) < 68.0) positionOK = false; } while (!positionOK);