vastly optimized pathfinding

This commit is contained in:
devZoGok
2025-01-10 19:10:31 +02:00
parent 0c994d0cce
commit eebe03fef5
10 changed files with 40487 additions and 40437 deletions
+1 -1
View File
@@ -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);