diff options
author | UbitUmarov | 2018-02-25 00:49:44 +0000 |
---|---|---|
committer | UbitUmarov | 2018-02-25 00:49:44 +0000 |
commit | 5ff57f01b7ab8844c192136c7f42882133f7650a (patch) | |
tree | 701e9efd2dc5c10e989a12c39beed9d0d4155dcd /OpenSim/Region/ScriptEngine/YEngine/MMRScriptObjCode.cs | |
parent | Y(xmr)engine cosmetics... (diff) | |
download | opensim-SC-5ff57f01b7ab8844c192136c7f42882133f7650a.zip opensim-SC-5ff57f01b7ab8844c192136c7f42882133f7650a.tar.gz opensim-SC-5ff57f01b7ab8844c192136c7f42882133f7650a.tar.bz2 opensim-SC-5ff57f01b7ab8844c192136c7f42882133f7650a.tar.xz |
Yengine: change filename extentions on scripts state (better delete contents of bin/scriptengines/yengine .. btw bin/scriptdata is not used anymore )
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/MMRScriptObjCode.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptObjCode.cs b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptObjCode.cs index 24d7c3d..ba72e39 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptObjCode.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptObjCode.cs | |||
@@ -90,7 +90,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
90 | // Check version number to make sure we know how to process file contents. | 90 | // Check version number to make sure we know how to process file contents. |
91 | char[] ocm = objFileReader.ReadChars(ScriptCodeGen.OBJECT_CODE_MAGIC.Length); | 91 | char[] ocm = objFileReader.ReadChars(ScriptCodeGen.OBJECT_CODE_MAGIC.Length); |
92 | if(new String(ocm) != ScriptCodeGen.OBJECT_CODE_MAGIC) | 92 | if(new String(ocm) != ScriptCodeGen.OBJECT_CODE_MAGIC) |
93 | throw new Exception("not an XMR object file (bad magic)"); | 93 | throw new Exception("not an Yengine object file (bad magic)"); |
94 | 94 | ||
95 | int cvv = objFileReader.ReadInt32(); | 95 | int cvv = objFileReader.ReadInt32(); |
96 | if(cvv != ScriptCodeGen.COMPILED_VERSION_VALUE) | 96 | if(cvv != ScriptCodeGen.COMPILED_VERSION_VALUE) |