From e46e36cfeb17d061a1c77d30841a1ce879ebfb82 Mon Sep 17 00:00:00 2001 From: "Laurent Alonso(fr)" Date: Thu, 4 Jun 2020 11:05:22 +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 3d528b7b..fb8a3a74 100644 --- a/src/universe/party.cpp +++ b/src/universe/party.cpp @@ -687,7 +687,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';