05-30-2015, 08:57 PM
(05-30-2015, 04:43 PM)Raptor Wrote: I think there should be support for both standards.Both standards are supported, I'm just asking which should be the preferred one.
(05-30-2015, 05:42 PM)Simbax Wrote: I have a question if does it work the following way: 0 is false, any other value is true?I'm not sure. It's whatever boost::lexical_cast uses. It's probably either 0 = false, anything else = true or 0 = false, 1 = true, anything else = level loading error.
In the old implementation this really depended on the actual command (some did if(param == 0) {} else {}, others did if(param == 1) {} else {}). It's more standarized now.