Merge branch 'master' of ssh://opensimulator.org/var/git/opensim

integration
Justin Clark-Casey (justincc) 2012-09-06 00:16:40 +01:00
commit fbfd28a61b
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;
} }