diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-19 02:37:09 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-19 02:37:09 +0200 |
commit | 27114fa2694318f2a1c56cb828a3b79731efcb74 (patch) | |
tree | aad31af84a5932bf8fda83e367dfa1ac78fec1c3 /src/being.cpp | |
parent | 36239b2d689b862a951a65a9be7376a500f1ace9 (diff) | |
download | mana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.gz mana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.bz2 mana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.xz mana-27114fa2694318f2a1c56cb828a3b79731efcb74.zip |
Fixed visible equipment updates, and made it based on equip.xml.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 4f546f6d..6c2a1517 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1067,8 +1067,6 @@ void Being::updateColors() void Being::setSprite(unsigned int slot, int id, const std::string &color, bool isWeapon) { - assert(slot < Net::getCharHandler()->maxSprite()); - if (slot >= size()) ensureSize(slot + 1); |