mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
Fixes Future usage in CCmpPathfinder after 0eed117e6d.
This commit is contained in:
parent
b1f0ebda41
commit
5e4b3f84b6
1 changed files with 2 additions and 1 deletions
|
|
@ -799,7 +799,8 @@ void CCmpPathfinder::SendRequestedPaths()
|
|||
}
|
||||
// We're done, get the exceptions from the futures.
|
||||
for (Future<void>& future : m_Futures)
|
||||
future.Get();
|
||||
if (future.Valid())
|
||||
future.Get();
|
||||
|
||||
{
|
||||
PROFILE2("PostMessages");
|
||||
|
|
|
|||
Loading…
Reference in a new issue