From 27114fa2694318f2a1c56cb828a3b79731efcb74 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Fri, 19 Aug 2011 02:37:09 +0200 Subject: Fixed visible equipment updates, and made it based on equip.xml. --- src/being.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/being.cpp') 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); -- cgit v1.2.3-70-g09d2