mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-27 03:53:33 +00:00
player data on the stats screen
This commit is contained in:
@@ -56,7 +56,7 @@ namespace battleship{
|
||||
map->load(name, newMap);
|
||||
|
||||
if(newMap){
|
||||
addPlayer(new Player(0, 0, 0));
|
||||
addPlayer(new Player(0, 0, 0, Vector3(1, 1, 1)));
|
||||
map->addSpawnPoint(Vector3::VEC_ZERO);
|
||||
generatePlane(size);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace battleship{
|
||||
int numPlayers = map->getNumSpawnPoints();
|
||||
|
||||
for(int i = 0; i < numPlayers; i++){
|
||||
Player *player = new Player(0, 0, 0);
|
||||
Player *player = new Player(0, 0, 0, Vector3(1, 1, 1));
|
||||
map->loadPlayerGameObjects(player);
|
||||
addPlayer(player);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user