mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
Add fishing pole as sword in save editor
Adds fishing pole as a sword to the save editor under current equipment.
This commit is contained in:
parent
0bfe2fec67
commit
05340a926a
@ -1316,6 +1316,9 @@ void DrawPlayerTab() {
|
||||
case ITEM_SWORD_BGS:
|
||||
curSword = "Biggoron's Sword";
|
||||
break;
|
||||
case ITEM_FISHING_POLE:
|
||||
curSword = "Fishing Pole";
|
||||
break;
|
||||
case ITEM_NONE:
|
||||
curSword = "None";
|
||||
break;
|
||||
@ -1463,6 +1466,11 @@ void DrawPlayerTab() {
|
||||
|
||||
Inventory_ChangeEquipment(EQUIP_SWORD, PLAYER_SWORD_BGS);
|
||||
}
|
||||
if (ImGui::Selectable("Fishing Pole")) {
|
||||
player->currentSwordItem = ITEM_FISHING_POLE;
|
||||
gSaveContext.equips.buttonItems[0] = ITEM_FISHING_POLE;
|
||||
Inventory_ChangeEquipment(EQUIP_SWORD, PLAYER_SWORD_MASTER);
|
||||
}
|
||||
ImGui::EndCombo();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user