mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
oooops
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user