summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/saveload.h')
-rw-r--r--src/saveload/saveload.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h
index d79bc1416..3047cbfd8 100644
--- a/src/saveload/saveload.h
+++ b/src/saveload/saveload.h
@@ -11,6 +11,7 @@
#define SAVELOAD_H
#include "../fileio_type.h"
+#include "../fios.h"
#include "../strings_type.h"
#include "../core/span_type.hpp"
#include <optional>
@@ -381,7 +382,7 @@ void WaitTillSaved();
void ProcessAsyncSaveFinish();
void DoExitSave();
-void DoAutoOrNetsave(int &counter, bool netsave = false);
+void DoAutoOrNetsave(FiosNumberedSaveName &counter);
SaveOrLoadResult SaveWithFilter(struct SaveFilter *writer, bool threaded);
SaveOrLoadResult LoadWithFilter(struct LoadFilter *reader);