mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Give every Zone its own RNG
This commit is contained in:
@ -54,8 +54,6 @@ public:
|
||||
|
||||
const Config & getConfig() const;
|
||||
|
||||
CRandomGenerator rand;
|
||||
|
||||
const CMapGenOptions& getMapGenOptions() const;
|
||||
|
||||
std::unique_ptr<CMap> generate();
|
||||
@ -74,6 +72,7 @@ public:
|
||||
int getRandomSeed() const;
|
||||
|
||||
private:
|
||||
CRandomGenerator rand;
|
||||
int randomSeed;
|
||||
CMapGenOptions& mapGenOptions;
|
||||
Config config;
|
||||
|
Reference in New Issue
Block a user