summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-19 02:37:09 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-19 02:37:09 +0200
commit27114fa2694318f2a1c56cb828a3b79731efcb74 (patch)
treeaad31af84a5932bf8fda83e367dfa1ac78fec1c3 /src/being.cpp
parent36239b2d689b862a951a65a9be7376a500f1ace9 (diff)
downloadmana-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.cpp2
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);