chore: remove useless parentheses

This commit is contained in:
Anna 2021-06-04 17:03:52 -04:00
parent 0527a3ef80
commit 2f342d2b4a
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

View File

@ -256,7 +256,7 @@ namespace XivCommon.Functions.ContextMenu {
private static unsafe (uint itemId, uint itemAmount, bool itemHq) GetInventoryAgentInfo(IntPtr agent) {
var itemId = *(uint*) (agent + ItemIdOffset);
var itemAmount = *(uint*) (agent + ItemAmountOffset);
var itemHq = (*(byte*) (agent + ItemHqOffset)) == 1;
var itemHq = *(byte*) (agent + ItemHqOffset) == 1;
return (itemId, itemAmount, itemHq);
}