Codechange: use C-style strings instread of std::string in the SettingDesc constructor

This as using std::string causes much more variables to be tracked, potentially causing problemes for certain compilers in certain situations
This commit is contained in:
rubidium42
2021-06-21 18:41:30 +02:00
committed by Patric Stout
parent c93fcbcb28
commit f35e6c1c7f
2 changed files with 13 additions and 13 deletions

View File

@@ -1002,14 +1002,14 @@ post_cb = MaxVehiclesChanged
cat = SC_BASIC
[SDTG_BOOL]
name = {}
name = """"
flags = SF_NO_NETWORK
var = _old_vds.servint_ispercent
def = false
to = SLV_120
[SDTG_VAR]
name = {}
name = """"
type = SLE_UINT16
flags = SF_GUI_0_IS_SPECIAL
var = _old_vds.servint_trains
@@ -1019,7 +1019,7 @@ max = 800
to = SLV_120
[SDTG_VAR]
name = {}
name = """"
type = SLE_UINT16
flags = SF_GUI_0_IS_SPECIAL
var = _old_vds.servint_roadveh
@@ -1029,7 +1029,7 @@ max = 800
to = SLV_120
[SDTG_VAR]
name = {}
name = """"
type = SLE_UINT16
flags = SF_GUI_0_IS_SPECIAL
var = _old_vds.servint_ships
@@ -1039,7 +1039,7 @@ max = 800
to = SLV_120
[SDTG_VAR]
name = {}
name = """"
type = SLE_UINT16
flags = SF_GUI_0_IS_SPECIAL
var = _old_vds.servint_aircraft