[wpdev-commits] wolfpack basechar.cpp,1.140,1.141
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-03 19:18:09
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15547 Modified Files: basechar.cpp Log Message: A fix for the skin hue not being updated. Stupid UO client! Index: basechar.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/basechar.cpp,v retrieving revision 1.140 retrieving revision 1.141 diff -C2 -d -r1.140 -r1.141 *** basechar.cpp 3 Sep 2004 16:03:04 -0000 1.140 --- basechar.cpp 3 Sep 2004 19:18:01 -0000 1.141 *************** *** 813,817 **** soundEffect( 0x0214 ); setBody( orgBody_ ); ! setSkin( orgSkin_ ); setDead( false ); hitpoints_ = QMAX( 1, ( Q_UINT16 ) ( 0.1 * maxHitpoints_ ) ); --- 813,817 ---- soundEffect( 0x0214 ); setBody( orgBody_ ); ! setSkin( orgSkin_ ); setDead( false ); hitpoints_ = QMAX( 1, ( Q_UINT16 ) ( 0.1 * maxHitpoints_ ) ); *************** *** 887,891 **** corpse->remove(); ! resend( false ); // Let him "stand up" --- 887,892 ---- corpse->remove(); ! removeFromView(false); // The skin changed ! resend(false); // Let him "stand up" *************** *** 1578,1583 **** \property char.skin This integer property contains the skin color of the character. */ ! else ! SET_INT_PROPERTY( "skin", skin_ ) // \property char.direction This is the direction this character is facing. --- 1579,1586 ---- \property char.skin This integer property contains the skin color of the character. */ ! else if (name == "skin") { ! skin_ = value.toInt(); ! removeFromView(false); ! } // \property char.direction This is the direction this character is facing. |