mantis 8933: Yengine allow bool to float implicit cast

This commit is contained in:
UbitUmarov
2021-10-07 16:14:46 +01:00
parent 5592f818c9
commit 9ee704e3bd

View File

@@ -114,7 +114,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
// EXPLICIT type casts (an * is in middle of the key)
// In general, only mark explicit if it might throw an exception
ltc.Add("array object", TypeCastArray2Object);
ltc.Add("bool*float", TypeCastBool2Float);
ltc.Add("bool float", TypeCastBool2Float);
ltc.Add("bool integer", TypeCastBool2Integer);
ltc.Add("bool list", TypeCastBool2List);
ltc.Add("bool object", TypeCastBool2Object);