Removed some debugging messages

This commit is contained in:
Richard Allen 2002-03-02 12:24:30 +00:00
parent 63c29a333f
commit 3f04c6bf64
3 changed files with 9 additions and 14 deletions

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.30 2002/03/02 12:24:30 jbravo
// Removed some debugging messages
//
// Revision 1.29 2002/02/23 16:55:09 jbravo
// Added debugging to help find what was going with can't find item for weapon
// error that crash the server.
@ -890,14 +893,6 @@ BG_FindItemForWeapon
gitem_t *BG_FindItemForWeapon( weapon_t weapon ) {
gitem_t *it;
// JBravo: adding debugging messages.
if (weapon > 10) {
Com_Printf("The server will most likly crash now.\n");
Com_Printf("If you see this message, write down what was happening\n");
Com_Printf("and let JBravo know about it.\n");
Com_Printf("in BG_FindItemForWeapon: weapon is %i.\n", weapon);
}
for ( it = bg_itemlist + 1 ; it->classname ; it++) {
if ( it->giType == IT_WEAPON && it->giTag == weapon ) {
return it;

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.58 2002/03/02 12:24:30 jbravo
// Removed some debugging messages
//
// Revision 1.57 2002/02/27 01:54:29 jbravo
// More spectatorfixes and finally stopped all fallingdamage anims and
// sounds during LCA.
@ -1082,9 +1085,6 @@ int ThrowWeapon( gentity_t *ent, qboolean forceThrow )
weap = client->ps.weapon;
}
// JBravo: adding debugging messages.
G_Printf("in ThrowWeapon: weapon is %i\n", weap);
xr_item = BG_FindItemForWeapon( weap );
//Elder: Send a server command instead of force-setting

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.22 2002/03/02 12:24:30 jbravo
// Removed some debugging messages
//
// Revision 1.21 2002/02/23 16:55:09 jbravo
// Added debugging to help find what was going with can't find item for weapon
// error that crash the server.
@ -359,9 +362,6 @@ void InitShooter( gentity_t *ent, int weapon ) {
ent->use = Use_Shooter;
ent->s.weapon = weapon;
// JBravo: adding debugging messages.
G_Printf("in InitShooter: weapon is %i\n", weapon);
RegisterItem( BG_FindItemForWeapon( weapon ) );
G_SetMovedir( ent->s.angles, ent->movedir );