diff options
author | Melanie | 2010-08-06 15:11:18 +0100 |
---|---|---|
committer | Melanie | 2010-08-06 15:11:18 +0100 |
commit | 120f3a18f298ac023e80da187f70e886a7cacfbd (patch) | |
tree | 5d82092f0b822e5c72d1663cdcf0c9377ace6e3b /OpenSim/Region/ScriptEngine/Shared/Instance | |
parent | People can't leave their hands ooff "well enough". StateSource 0 was region (diff) | |
download | opensim-SC_OLD-120f3a18f298ac023e80da187f70e886a7cacfbd.zip opensim-SC_OLD-120f3a18f298ac023e80da187f70e886a7cacfbd.tar.gz opensim-SC_OLD-120f3a18f298ac023e80da187f70e886a7cacfbd.tar.bz2 opensim-SC_OLD-120f3a18f298ac023e80da187f70e886a7cacfbd.tar.xz |
Correct some script constants.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 3dd381d..ccfe6a7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -392,13 +392,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
392 | { | 392 | { |
393 | // m_log.Debug("[Script] Posted changed(CHANGED_REGION_RESTART) to script"); | 393 | // m_log.Debug("[Script] Posted changed(CHANGED_REGION_RESTART) to script"); |
394 | PostEvent(new EventParams("changed", | 394 | PostEvent(new EventParams("changed", |
395 | new Object[] {new LSL_Types.LSLInteger(256)}, new DetectParams[0])); | 395 | new Object[] { (int)Changed.REGION_RESTART }, new DetectParams[0])); |
396 | } | 396 | } |
397 | else if (m_stateSource == StateSource.PrimCrossing) | 397 | else if (m_stateSource == StateSource.PrimCrossing) |
398 | { | 398 | { |
399 | // CHANGED_REGION | 399 | // CHANGED_REGION |
400 | PostEvent(new EventParams("changed", | 400 | PostEvent(new EventParams("changed", |
401 | new Object[] {new LSL_Types.LSLInteger(512)}, new DetectParams[0])); | 401 | new Object[] { (int)Changed.REGION }, new DetectParams[0])); |
402 | } | 402 | } |
403 | } | 403 | } |
404 | else | 404 | else |