aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Scripting.EmbeddedJVM/InterpreterLogic.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.Scripting.EmbeddedJVM/InterpreterLogic.cs')
-rw-r--r--OpenSim.Scripting.EmbeddedJVM/InterpreterLogic.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim.Scripting.EmbeddedJVM/InterpreterLogic.cs b/OpenSim.Scripting.EmbeddedJVM/InterpreterLogic.cs
index 673970a..8c895af 100644
--- a/OpenSim.Scripting.EmbeddedJVM/InterpreterLogic.cs
+++ b/OpenSim.Scripting.EmbeddedJVM/InterpreterLogic.cs
@@ -274,11 +274,11 @@ namespace OpenSim.Scripting.EmbeddedJVM
274 if (flcom1 is Float && flcom2 is Float) 274 if (flcom1 is Float && flcom2 is Float)
275 { 275 {
276 Int compres = new Int(); 276 Int compres = new Int();
277 if (((Float)flcom1).mValue > ((Float)flcom2).mValue) 277 if (((Float)flcom1).mValue < ((Float)flcom2).mValue)
278 { 278 {
279 compres.mValue = -1; 279 compres.mValue = -1;
280 } 280 }
281 else if (((Float)flcom1).mValue < ((Float)flcom2).mValue) 281 else if (((Float)flcom1).mValue > ((Float)flcom2).mValue)
282 { 282 {
283 compres.mValue = 1; 283 compres.mValue = 1;
284 } 284 }