Commit 4cbbfeca46c60fc0efdfe901e69324cd8358308e

  • avatar
  • Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>
  • Fri Jul 30 01:17:17 CEST 2010
Fixed weapon animations for manaserv.

The beinghandler didn't tell to the being::setSprite() function
if the equipment was a weapon or not.

Resolves: Manasource-Mantis #157.

Reviewed-by: Jaxad0127.
  
914914 mLastTarget = -1;
915915 setTarget(target);
916916 }
917
917918 if (Net::getNetworkType() == ServerInfo::MANASERV)
918919 {
919920 Vector plaPos = this->getPosition();
  
144144 {
145145 if (!(mask & (1 << i))) continue;
146146 int id = msg.readInt16();
147 being->setSprite(slots[i], id);
147 being->setSprite(slots[i], id,"", (slots[i] == SPRITE_WEAPON));
148148 }
149149}
150150