[PATCH] osSetSpeed() will accept float number

Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
This commit is contained in:
Makopoppo
2011-06-28 22:21:53 +09:00
committed by BlueWall
parent ffa790d69d
commit 80010f8908
3 changed files with 4 additions and 4 deletions

View File

@@ -2209,12 +2209,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return (int)pws;
}
public void osSetSpeed(string UUID, float SpeedModifier)
public void osSetSpeed(string UUID, LSL_Float SpeedModifier)
{
CheckThreatLevel(ThreatLevel.Moderate, "osSetSpeed");
m_host.AddScriptLPS(1);
ScenePresence avatar = World.GetScenePresence(new UUID(UUID));
avatar.SpeedModifier = SpeedModifier;
avatar.SpeedModifier = (float)SpeedModifier;
}
public void osKickAvatar(string FirstName,string SurName,string alert)