mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Inventory mouse shortcut improvements (#13146)
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
This commit is contained in:
@@ -43,6 +43,12 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
bool operator==(const ItemSpec& other)
|
||||
{
|
||||
return inventoryloc == other.inventoryloc &&
|
||||
listname == other.listname && i == other.i;
|
||||
}
|
||||
|
||||
bool isValid() const { return i != -1; }
|
||||
|
||||
InventoryLocation inventoryloc;
|
||||
|
Reference in New Issue
Block a user