diff options
author | Fate <fate-tmw@googlemail.com> | 2009-09-19 19:23:02 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-09-19 19:23:02 +0000 |
commit | 1aa425bb4c846c978712410de311181c84a1d097 (patch) | |
tree | 2dd9917f43d9d6db6e7b7cd67f463be520a13965 | |
parent | fde41392cde408af9ea269e00336e503294dfdd2 (diff) | |
download | mana-client-1aa425bb4c846c978712410de311181c84a1d097.tar.gz mana-client-1aa425bb4c846c978712410de311181c84a1d097.tar.bz2 mana-client-1aa425bb4c846c978712410de311181c84a1d097.tar.xz mana-client-1aa425bb4c846c978712410de311181c84a1d097.zip |
Removed unexplained exceptions to undressing logic in player outfits handling, making the system more intuitive to use
-rw-r--r-- | src/gui/outfitwindow.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index d2e9468d..67fec9b0 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -150,13 +150,9 @@ void OutfitWindow::wearOutfit(int outfit) { for (int i = 0; i < 11; i++) { - //non vis is 3,4,7 - if (i != 3 && i != 4 && i != 7) - { - if (!(item = player_node->mEquipment.get()->getEquipment(i))) - continue; - Net::getInventoryHandler()->unequipItem(item); - } + if (!(item = player_node->mEquipment.get()->getEquipment(i))) + continue; + Net::getInventoryHandler()->unequipItem(item); } } |