Fixed so that random map generation works,
now the segfault should be fixed without consequences.
This commit is contained in:
parent
a89e203914
commit
43f03759b2
1 changed files with 4 additions and 0 deletions
|
@ -174,6 +174,10 @@ int main(int argc, char** argv)
|
|||
preproc_map defines_map;
|
||||
defines_map["MEDIUM"] = preproc_define();
|
||||
defines_map["NORMAL"] = preproc_define();
|
||||
// Multiplayer define is needed to access the random map generator
|
||||
// settings. Maybe they should be moved? Or set an EDITOR define and
|
||||
// make it load that way maybe.
|
||||
defines_map["MULTIPLAYER"] = preproc_define();
|
||||
config cfg;
|
||||
try {
|
||||
cfg.read(preprocess_file("data/game.cfg", &defines_map));
|
||||
|
|
Loading…
Add table
Reference in a new issue