refactor: call original outside of fixed statement
This commit is contained in:
parent
40af794533
commit
4f7d0930f2
@ -88,9 +88,10 @@ namespace XivCommon.Functions {
|
|||||||
fixed (byte* namePtr = newName, textPtr = newText) {
|
fixed (byte* namePtr = newName, textPtr = newText) {
|
||||||
this.SetAtkValueString(data + NameOffset, (IntPtr) namePtr);
|
this.SetAtkValueString(data + NameOffset, (IntPtr) namePtr);
|
||||||
this.SetAtkValueString(data + TextOffset, (IntPtr) textPtr);
|
this.SetAtkValueString(data + TextOffset, (IntPtr) textPtr);
|
||||||
this.AddonTalkV45Hook!.Original(addon, a2, data);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.AddonTalkV45Hook!.Original(addon, a2, data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user