put extern forward-declarations first

This commit is contained in:
2024-07-27 16:07:16 -05:00
committed by Celtic Minstrel
parent b7692c2fa6
commit 902fdb7a61

View File

@@ -30,7 +30,8 @@ extern cCustomGraphics spec_scen_g;
static bool load_party_v1(fs::path file_to_load, cUniverse& univ, bool town_restore, bool in_scen, bool maps_there, bool must_port);
static bool load_party_v2(fs::path file_to_load, cUniverse& univ);
fs::path nav_get_party();
extern fs::path nav_get_party();
extern fs::path nav_put_party(fs::path def);
fs::path nav_get_or_decode_party() {
if(replaying){
@@ -42,8 +43,6 @@ fs::path nav_get_or_decode_party() {
}
}
fs::path nav_put_party(fs::path def);
fs::path nav_put_or_temp_party(fs::path def) {
if(replaying){
return tempDir / "temp.exg";