This commit is contained in:
UbitUmarov
2023-02-06 19:26:31 +00:00
parent fd2b97fc66
commit 9472ec630c
2 changed files with 2 additions and 2 deletions

View File

@@ -3147,7 +3147,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return;
SceneObjectPart sop;
if (linknumber = ScriptBaseClass.LINK_THIS)
if (linknumber == ScriptBaseClass.LINK_THIS)
sop = m_host;
else if (linknumber < 0)
return;

View File

@@ -2695,7 +2695,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
CheckThreatLevel(ThreatLevel.VeryLow, "osReplaceString");
// Normalize indices (if negative).
// After normlaization they may still be
// After normalization they may still be
// negative, but that is now relative to
// the start, rather than the end, of the
// sequence.