mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fix map saving
This commit is contained in:
@@ -15,13 +15,12 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
class DLL_LINKAGE EditorCallback : public MapInfoCallback
|
||||
{
|
||||
protected:
|
||||
const CMap * getMapConstPtr() const override;
|
||||
|
||||
public:
|
||||
explicit EditorCallback(const CMap * map);
|
||||
|
||||
void setMap(const CMap * map);
|
||||
const CMap * getMapConstPtr() const override;
|
||||
|
||||
// Access to full game state — not available in editor
|
||||
CGameState & gameState() override;
|
||||
|
||||
Reference in New Issue
Block a user