Update of /cvsroot/wpdev/wolfpack/network
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14349/network
Modified Files:
uosocket.cpp uotxpackets.cpp
Log Message:
I actually fixed most of the conversion warnings, and Wolfpack didn't break for me... so I'll commit. This removes quite a bit of warning garbage. :)
Index: uosocket.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/network/uosocket.cpp,v
retrieving revision 1.391
retrieving revision 1.392
diff -C2 -d -r1.391 -r1.392
*** uosocket.cpp 13 Aug 2004 02:53:53 -0000 1.391
--- uosocket.cpp 13 Aug 2004 08:55:27 -0000 1.392
***************
*** 106,110 ****
PyObject* cUOSocket::handlers[255] =
{
! 0,
};
--- 106,110 ----
PyObject* cUOSocket::handlers[255] =
{
! 0,
};
***************
*** 2403,2407 ****
sendStats.setDexterity( _player->dexterity() );
sendStats.setIntelligence( _player->intelligence() );
! sendStats.setWeight( _player->weight() );
sendStats.setGold( _player->countBankGold() + _player->countGold() );
sendStats.setSex( _player->gender() );
--- 2403,2407 ----
sendStats.setDexterity( _player->dexterity() );
sendStats.setIntelligence( _player->intelligence() );
! sendStats.setWeight( ( short unsigned int ) _player->weight() );
sendStats.setGold( _player->countBankGold() + _player->countGold() );
sendStats.setSex( _player->gender() );
Index: uotxpackets.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/network/uotxpackets.cpp,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -d -r1.100 -r1.101
*** uotxpackets.cpp 10 Aug 2004 03:24:29 -0000 1.100
--- uotxpackets.cpp 13 Aug 2004 08:55:27 -0000 1.101
***************
*** 209,213 ****
setShort( 1, size + 8 );
setInt( size, staticpatches );
! setInt( size + 4, mappatches );
setInt( 5, num + 1 );
}
--- 209,213 ----
setShort( 1, size + 8 );
setInt( size, staticpatches );
! setInt( size + 4, mappatches );
setInt( 5, num + 1 );
}
***************
*** 366,370 ****
bool layers[0x20] =
{
! 0,
};
--- 366,370 ----
bool layers[0x20] =
{
! 0,
};
***************
*** 819,821 ****
setShort( 48 + data.length() * 2, 0 );
}
! }
\ No newline at end of file
--- 819,821 ----
setShort( 48 + data.length() * 2, 0 );
}
! }
|