]> git.localhorst.tv Git - l2e.git/blobdiff - src/main.cpp
linked equipment menu icons in battle resources
[l2e.git] / src / main.cpp
index 4f50463ba258fa6102f0ab6958e011812fddb3ca..7b47f858494ee04365987522d7d4409b1f56dc87 100644 (file)
@@ -269,6 +269,13 @@ int main(int argc, char **argv) {
                Sprite ringIcon(itemIcons, 16, 16, 0, 160);
                Sprite jewelIcon(itemIcons, 16, 16, 0, 176);
 
+               battleRes.weaponMenuIcon = &swordIcon;
+               battleRes.armorMenuIcon = &armorIcon;
+               battleRes.shieldMenuIcon = &shieldIcon;
+               battleRes.helmetMenuIcon = &helmetIcon;
+               battleRes.ringMenuIcon = &ringIcon;
+               battleRes.jewelMenuIcon = &jewelIcon;
+
                Inventory inventory;
                Item antidote;
                antidote.SetName("Antidote");