Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/site/content/changelogs/changelog-2026-07.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,4 @@ Added a bunch of `debug.emulateFoo` functions that emulate input. Useful for aut
- fix Skirmish AI API compilation issues due to `AIFloat3` having a non-trivial constructor.
- attempt to fix the lack of `wupget:GameProgress` calls when initially catching up.
- fix Lua `VBO::CopyTo` to copy VBO data CPU side in additon to GPU side. Formerly it only copied data GPU side.
- fix QTPFS path cleanup when an immediate path search fails
7 changes: 5 additions & 2 deletions rts/Sim/Path/QTPFS/PathManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1686,13 +1686,16 @@ unsigned int QTPFS::PathManager::ExecuteImmediateSearch(unsigned int pathId){
registry.remove<PathIsTemp>(pathEntity);
registry.remove<PathIsDirty>(pathEntity);
} else {
DeletePathEntity(pathEntity);
pathId = 0;
}
}
}

RemovePathSearch(pathEntity);
// If successful, just remove the path search, otherwise delete the path entity and its search.
if (pathId > 0)
RemovePathSearch(pathEntity);
else
DeletePathEntity(pathEntity);

return pathId;
}
Expand Down