mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
vastly optimized pathfinding
This commit is contained in:
@@ -520,7 +520,7 @@ namespace battleship{
|
||||
void Map::load(string mapName){
|
||||
this->mapName = mapName;
|
||||
|
||||
Pathfinder::getSingleton()->setImpassibleNodeVal(u16(0 - 1));
|
||||
Pathfinder::getSingleton()->setImpassibleNodeVal(u32(0 - 1));
|
||||
string path = GameManager::getSingleton()->getPath();
|
||||
AssetManager::getSingleton()->load(path + "Textures/", true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user