Merge branch 'master' of /home/opensim/var/repo/opensim

integration
BlueWall 2012-09-05 12:59:40 -04:00
commit c56340952b
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// ---------- Integer ---------- // ---------- Integer ----------
else if (lslparm is LSL_Integer) else if (lslparm is LSL_Integer)
{ {
if (type == typeof(int)) if (type == typeof(int) || type == typeof(float))
return (int)(LSL_Integer)lslparm; return (int)(LSL_Integer)lslparm;
} }