mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 14:33:49 +00:00
-DEXPERIMENTAL now sets an EXPERIMENTAL #define in WML.
This commit is contained in:
parent
0f129764ae
commit
e8cdbf26c4
@ -596,6 +596,11 @@ bool game_controller::init_config(const bool force)
|
||||
{
|
||||
cache_.clear_defines();
|
||||
|
||||
#ifdef EXPERIMENTAL
|
||||
// use this to guard WML that depends on code guarded by EXPERIMENTAL
|
||||
cache_.add_define("EXPERIMENTAL");
|
||||
#endif /* EXPERIMENTAL */
|
||||
|
||||
// make sure that multiplayer mode is set if command line parameter is selected
|
||||
if (multiplayer_mode_)
|
||||
cache_.add_define("MULTIPLAYER");
|
||||
|
Loading…
x
Reference in New Issue
Block a user