Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

ensuring that operand order in llGetLinkName is internally consistent

  • Loading branch information...
commit ec044537d50b425178c4e081abcf325d28028480 1 parent 0f70460
SignpostMarv authored October 18, 2012 justincc committed October 19, 2012
2  OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3828,7 +3828,7 @@ public LSL_String llGetLinkName(int linknum)
3828 3828
             }
3829 3829
 
3830 3830
             // simplest case, this prims link number
3831  
-            if (m_host.LinkNum == linknum)
  3831
+            if (linknum == m_host.LinkNum)
3832 3832
                 return m_host.Name;
3833 3833
 
3834 3834
             // Single prim

0 notes on commit ec04453

Please sign in to comment.
Something went wrong with that request. Please try again.