Cleanup
This commit is contained in:
@@ -15,8 +15,8 @@ public static unsafe class InventoryContextState
|
|||||||
|
|
||||||
public static void RefreshMaps()
|
public static void RefreshMaps()
|
||||||
{
|
{
|
||||||
EligibleSlots. Clear();
|
EligibleSlots.Clear();
|
||||||
VisualLocationMap. Clear();
|
VisualLocationMap.Clear();
|
||||||
|
|
||||||
var sorter = ItemOrderModule.Instance()->InventorySorter;
|
var sorter = ItemOrderModule.Instance()->InventorySorter;
|
||||||
if (sorter == null) return;
|
if (sorter == null) return;
|
||||||
@@ -31,7 +31,7 @@ public static unsafe class InventoryContextState
|
|||||||
|
|
||||||
for (int displayIdx = 0; displayIdx < 140; displayIdx++)
|
for (int displayIdx = 0; displayIdx < 140; displayIdx++)
|
||||||
{
|
{
|
||||||
var entry = sorter->Items[displayIdx]. Value;
|
var entry = sorter->Items[displayIdx].Value;
|
||||||
if (entry == null) continue;
|
if (entry == null) continue;
|
||||||
|
|
||||||
int realPage = entry->Page;
|
int realPage = entry->Page;
|
||||||
@@ -46,7 +46,7 @@ public static unsafe class InventoryContextState
|
|||||||
if (hasContext && invArray != null)
|
if (hasContext && invArray != null)
|
||||||
{
|
{
|
||||||
var itemData = invArray->Items[displayIdx];
|
var itemData = invArray->Items[displayIdx];
|
||||||
if (itemData. IconId == 0) continue;
|
if (itemData.IconId == 0) continue;
|
||||||
|
|
||||||
bool eligible = itemData.ItemFlags.MirageFlag == 0;
|
bool eligible = itemData.ItemFlags.MirageFlag == 0;
|
||||||
if (eligible)
|
if (eligible)
|
||||||
|
|||||||
Reference in New Issue
Block a user