intialize the rng for random map generation
This commit is contained in:
parent
f875fa8102
commit
185eb0a1ea
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
#include "../language.hpp"
|
||||
#include "../map.hpp"
|
||||
#include "../preferences.hpp"
|
||||
#include "../random.hpp"
|
||||
#include "../team.hpp"
|
||||
#include "../util.hpp"
|
||||
#include "../video.hpp"
|
||||
|
@ -40,6 +41,8 @@
|
|||
int main(int argc, char** argv)
|
||||
{
|
||||
game_config::editor = true;
|
||||
rng generator;
|
||||
const set_random_generator generator_setter(&generator);
|
||||
|
||||
int arg;
|
||||
for(arg = 1; arg != argc; ++arg) {
|
||||
|
|
Loading…
Add table
Reference in a new issue