1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

More rollback.

This commit is contained in:
DjWarmonger
2014-05-23 13:23:03 +02:00
parent 5b0b152aa3
commit 342aec0700
3 changed files with 5 additions and 5 deletions

View File

@@ -36,10 +36,10 @@ public:
explicit CMapGenerator(shared_ptr<CMapGenOptions> mapGenOptions, int randomSeed = std::time(nullptr));
~CMapGenerator(); // required due to unique_ptr
ConstTransitivePtr<CMap> generate();
std::unique_ptr<CMap> generate();
shared_ptr<CMapGenOptions> mapGenOptions;
ConstTransitivePtr<CMap> map;
std::unique_ptr<CMap> map;
CRandomGenerator rand;
int randomSeed;
CMapEditManager * editManager;