refactoring

This commit is contained in:
devZoGok
2026-05-13 19:05:01 +03:00
parent a2f2367381
commit 63204751a1
3 changed files with 23 additions and 27 deletions
+1
View File
@@ -62,6 +62,7 @@ namespace battleship{
Map *map = Map::getSingleton();
map->load(mapName);
Map::Minimap::getSingleton()->load();
Camera *cam = Root::getSingleton()->getCamera();
cam->setPosition(Map::getSingleton()->getSpawnPoint(playerId) + Vector3(1, 1, 1) * configData::CAMERA_DISTANCE);