aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs
diff options
context:
space:
mode:
authorMelanie2010-08-06 15:05:35 +0100
committerMelanie2010-08-06 15:05:35 +0100
commitc1ad8a3c170dd1c35c5c892af5fd7fc06037de5f (patch)
tree8e54caf6d18ddae9005126b04119f703cc696919 /OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs
parentAllow the trash folder itself to be passed to PurgeFolder (diff)
downloadopensim-SC-c1ad8a3c170dd1c35c5c892af5fd7fc06037de5f.zip
opensim-SC-c1ad8a3c170dd1c35c5c892af5fd7fc06037de5f.tar.gz
opensim-SC-c1ad8a3c170dd1c35c5c892af5fd7fc06037de5f.tar.bz2
opensim-SC-c1ad8a3c170dd1c35c5c892af5fd7fc06037de5f.tar.xz
People can't leave their hands ooff "well enough". StateSource 0 was region
start, and they started at 1 for real values. Whoever changed that enum to start at 0 should bow their head in shame. They broke the region start event. This puts it right again. Meow!
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs
index 9f6ea35..0c99d8c 100644
--- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs
@@ -38,10 +38,11 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
38{ 38{
39 public enum StateSource 39 public enum StateSource
40 { 40 {
41 NewRez = 0, 41 RegionStart = 0,
42 PrimCrossing = 1, 42 NewRez = 1,
43 ScriptedRez = 2, 43 PrimCrossing = 2,
44 AttachedRez = 3 44 ScriptedRez = 3,
45 AttachedRez = 4
45 } 46 }
46 47
47 public interface IScriptWorkItem 48 public interface IScriptWorkItem