more yengine cosmetics

This commit is contained in:
UbitUmarov
2023-06-21 11:09:51 +01:00
parent 89130b9f0a
commit 77ee3beaf1
2 changed files with 483 additions and 475 deletions

View File

@@ -980,7 +980,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
ilGen.Emit(declFunc, OpCodes.Castclass, xmrInstSuperType);
ilGen.Emit(declFunc, OpCodes.Stloc, instancePointer);
if (curDeclFunc.fullName != "$globalvarinit()")
if (!"$globalvarinit()".Equals(curDeclFunc.fullName))
{
PushXMRInst();
ilGen.Emit(curDeclFunc, OpCodes.Ldfld, heapUsedFieldInfo);