0.9.1.0-post-fixes
UbitUmarov 2018-09-08 07:39:14 +01:00
parent ca9651df0d
commit f466c56ba4
1 changed files with 7 additions and 1 deletions

View File

@ -13055,8 +13055,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
for (int i = 0; i < commandList.Data.Length; i++)
{
int cmd = (LSL_Integer)commandList.Data[i]; // Yengine cast issue
int cmd;
if(commandList.Data[i] is LSL_Integer)
cmd = (LSL_Integer)commandList.Data[i];
else
cmd = (int)commandList.Data[i];
ParcelMediaCommandEnum command = (ParcelMediaCommandEnum)cmd;
switch (command)
{
case ParcelMediaCommandEnum.Agent: