Declare a EDITOR tag,
so we can use it in the main.cfg to do conditional loading
This commit is contained in:
parent
5a2b96ff16
commit
17f2a8abb2
1 changed files with 3 additions and 0 deletions
|
@ -259,6 +259,9 @@ int main(int argc, char** argv)
|
|||
return 0;
|
||||
}
|
||||
preproc_map defines_map;
|
||||
// define editor to do conditionnal loading in the main cfg
|
||||
defines_map["EDITOR"] = preproc_define();
|
||||
|
||||
defines_map["MEDIUM"] = preproc_define();
|
||||
defines_map["NORMAL"] = preproc_define();
|
||||
// Multiplayer define is needed to access the random map generator
|
||||
|
|
Loading…
Add table
Reference in a new issue