From fa15177978163e62d10543ae0ffbc922f2257753 Mon Sep 17 00:00:00 2001 From: ALONSO Laurent Date: Thu, 14 Jul 2022 16:06:40 +0200 Subject: [PATCH] save: try to save the magic_ptrs correctly... --- src/universe/party.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/universe/party.cpp b/src/universe/party.cpp index 2eb88aeb..9dd36778 100644 --- a/src/universe/party.cpp +++ b/src/universe/party.cpp @@ -685,7 +685,7 @@ void cParty::writeTo(std::ostream& file) const { for(auto iter = pointers.begin(); iter != pointers.end(); iter++) file << "POINTER " << iter->first << ' ' << iter->second.first << ' ' << iter->second.second << '\n'; for(int i = 0; i < magic_ptrs.size(); i++) - file << "POINTER " << i << ' ' << int(magic_ptrs[i]) << '\n'; + file << "POINTER " << i+10 << ' ' << int(magic_ptrs[i]) << '\n'; file << "LIGHT " << light_level << '\n'; file << "OUTCORNER " << outdoor_corner.x << ' ' << outdoor_corner.y << '\n'; file << "INWHICHCORNER " << i_w_c.x << ' ' << i_w_c.y << '\n';