Feature: Region-based pathfinder for ships (#10543)

This commit is contained in:
Kuhnovic
2024-01-08 20:29:05 +01:00
committed by GitHub
parent 9a7c4dda52
commit f1e999ec59
18 changed files with 1075 additions and 136 deletions

View File

@@ -61,6 +61,7 @@
#include "../timer/timer.h"
#include "../timer/timer_game_calendar.h"
#include "../timer/timer_game_tick.h"
#include "../pathfinder/water_regions.h"
#include "saveload_internal.h"
@@ -3296,6 +3297,8 @@ bool AfterLoadGame()
}
}
if (IsSavegameVersionBefore(SLV_WATER_REGIONS)) InitializeWaterRegions();
return true;
}