mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Gamestate is now passed as shared pointer
This commit is contained in:
@@ -28,7 +28,7 @@ class DLL_LINKAGE CMapInfo : public Serializeable
|
||||
public:
|
||||
std::unique_ptr<CMapHeader> mapHeader; //may be nullptr if campaign
|
||||
std::unique_ptr<Campaign> campaign; //may be nullptr if scenario
|
||||
StartInfo * scenarioOptionsOfSave; // Options with which scenario has been started (used only with saved games)
|
||||
std::unique_ptr<StartInfo> scenarioOptionsOfSave; // Options with which scenario has been started (used only with saved games)
|
||||
std::string fileURI;
|
||||
std::string originalFileURI; // no need to serialize
|
||||
std::string fullFileURI; // no need to serialize
|
||||
|
||||
Reference in New Issue
Block a user