[wpdev-commits] wolfpack/network uosocket.cpp,1.389,1.390
Brought to you by:
rip,
thiagocorrea
From: Correa <thi...@us...> - 2004-08-12 03:16:31
|
Update of /cvsroot/wpdev/wolfpack/network In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14770 Modified Files: uosocket.cpp Log Message: fix bug 210 ( onCreate issue, Items ) also, contains several API fixes to conform the coding standard. Index: uosocket.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/network/uosocket.cpp,v retrieving revision 1.389 retrieving revision 1.390 diff -C2 -d -r1.389 -r1.390 *** uosocket.cpp 10 Aug 2004 03:24:29 -0000 1.389 --- uosocket.cpp 12 Aug 2004 03:16:20 -0000 1.390 *************** *** 2394,2398 **** sendStats.setIntelligence( _player->intelligence() ); sendStats.setWeight( _player->weight() ); ! sendStats.setGold( _player->CountBankGold() + _player->CountGold() ); sendStats.setSex( _player->gender() ); sendStats.setPets( _player->controlslots() ); --- 2394,2398 ---- sendStats.setIntelligence( _player->intelligence() ); sendStats.setWeight( _player->weight() ); ! sendStats.setGold( _player->countBankGold() + _player->countGold() ); sendStats.setSex( _player->gender() ); sendStats.setPets( _player->controlslots() ); *************** *** 3032,3036 **** if ( item->corpse() ) { ! if ( !_player->Owns( item ) && !_player->isGM() ) { _player->unhide(); --- 3032,3036 ---- if ( item->corpse() ) { ! if ( !_player->owns( item ) && !_player->isGM() ) { _player->unhide(); *************** *** 3038,3042 **** // TODO: Add a XML option for this ! if ( !_player->Owns( item ) && !_player->isGM() && _player->isInnocent() ) { // Innocent Corpse and not in the same party && party allowance for looting? --- 3038,3042 ---- // TODO: Add a XML option for this ! if ( !_player->owns( item ) && !_player->isGM() && _player->isInnocent() ) { // Innocent Corpse and not in the same party && party allowance for looting? *************** *** 3066,3070 **** if ( item->isLockedDown() && item->secured() ) { ! if ( !_player->Owns( item ) && !_player->isGM() ) { sysMessage( tr( "That is a secured chest!" ) ); --- 3066,3070 ---- if ( item->isLockedDown() && item->secured() ) { ! if ( !_player->owns( item ) && !_player->isGM() ) { sysMessage( tr( "That is a secured chest!" ) ); |