mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Merge branch 'opensim:master' into master
This commit is contained in:
@@ -2516,6 +2516,13 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (curDeclFunc.fullName != "$globalvarinit()")
|
||||||
|
{
|
||||||
|
PushXMRInst();
|
||||||
|
ilGen.Emit(curDeclFunc, OpCodes.Ldloc, curHeapSize);
|
||||||
|
ilGen.Emit(curDeclFunc, OpCodes.Stfld, heapUsedFieldInfo);
|
||||||
|
}
|
||||||
|
|
||||||
ilGen.Emit(stateStmt, OpCodes.Ldc_I4, index); // new state's index
|
ilGen.Emit(stateStmt, OpCodes.Ldc_I4, index); // new state's index
|
||||||
ilGen.Emit(stateStmt, OpCodes.Newobj, scriptChangeStateExceptionConstructorInfo);
|
ilGen.Emit(stateStmt, OpCodes.Newobj, scriptChangeStateExceptionConstructorInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user