[wpdev-commits] wolfpack/network uosocket.cpp,1.427,1.428
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-10 12:19:22
|
Update of /cvsroot/wpdev/wolfpack/network In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5190/network Modified Files: uosocket.cpp Log Message: Fixes Index: uosocket.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/network/uosocket.cpp,v retrieving revision 1.427 retrieving revision 1.428 diff -C2 -d -r1.427 -r1.428 *** uosocket.cpp 9 Oct 2004 14:32:22 -0000 1.427 --- uosocket.cpp 10 Oct 2004 12:19:10 -0000 1.428 *************** *** 2269,2272 **** --- 2269,2285 ---- send( &drawChar ); pChar->sendTooltip( this ); + + // Send the equipment Tooltips + cBaseChar::ItemContainer content = pChar->content(); + cBaseChar::ItemContainer::const_iterator it; + + for ( it = content.begin(); it != content.end(); it++ ) + { + P_ITEM pItem = it.data(); + if ( pItem->layer() <= 0x19 ) + { + pItem->sendTooltip( this ); + } + } } } |