Saveload: Add save flag for if this is a scenario save

This commit is contained in:
Jonathan G Rennison
2023-03-21 18:00:30 +00:00
parent 69c3e94111
commit 6cdf67f38a
3 changed files with 12 additions and 2 deletions

View File

@@ -3312,6 +3312,11 @@ bool IsNetworkServerSave()
return _sl.save_flags & SMF_NET_SERVER;
}
bool IsScenarioSave()
{
return _sl.save_flags & SMF_SCENARIO;
}
struct ThreadedLoadFilter : LoadFilter {
static const size_t BUFFER_COUNT = 4;