mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-12-02 09:01:47 +00:00
Removed some debugging messages
This commit is contained in:
parent
63c29a333f
commit
3f04c6bf64
3 changed files with 9 additions and 14 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $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
|
// 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
|
// Added debugging to help find what was going with can't find item for weapon
|
||||||
// error that crash the server.
|
// error that crash the server.
|
||||||
|
@ -890,14 +893,6 @@ BG_FindItemForWeapon
|
||||||
gitem_t *BG_FindItemForWeapon( weapon_t weapon ) {
|
gitem_t *BG_FindItemForWeapon( weapon_t weapon ) {
|
||||||
gitem_t *it;
|
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++) {
|
for ( it = bg_itemlist + 1 ; it->classname ; it++) {
|
||||||
if ( it->giType == IT_WEAPON && it->giTag == weapon ) {
|
if ( it->giType == IT_WEAPON && it->giTag == weapon ) {
|
||||||
return it;
|
return it;
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $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
|
// Revision 1.57 2002/02/27 01:54:29 jbravo
|
||||||
// More spectatorfixes and finally stopped all fallingdamage anims and
|
// More spectatorfixes and finally stopped all fallingdamage anims and
|
||||||
// sounds during LCA.
|
// sounds during LCA.
|
||||||
|
@ -1082,9 +1085,6 @@ int ThrowWeapon( gentity_t *ent, qboolean forceThrow )
|
||||||
weap = client->ps.weapon;
|
weap = client->ps.weapon;
|
||||||
}
|
}
|
||||||
|
|
||||||
// JBravo: adding debugging messages.
|
|
||||||
G_Printf("in ThrowWeapon: weapon is %i\n", weap);
|
|
||||||
|
|
||||||
xr_item = BG_FindItemForWeapon( weap );
|
xr_item = BG_FindItemForWeapon( weap );
|
||||||
|
|
||||||
//Elder: Send a server command instead of force-setting
|
//Elder: Send a server command instead of force-setting
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $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
|
// 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
|
// Added debugging to help find what was going with can't find item for weapon
|
||||||
// error that crash the server.
|
// error that crash the server.
|
||||||
|
@ -359,9 +362,6 @@ void InitShooter( gentity_t *ent, int weapon ) {
|
||||||
ent->use = Use_Shooter;
|
ent->use = Use_Shooter;
|
||||||
ent->s.weapon = weapon;
|
ent->s.weapon = weapon;
|
||||||
|
|
||||||
// JBravo: adding debugging messages.
|
|
||||||
G_Printf("in InitShooter: weapon is %i\n", weapon);
|
|
||||||
|
|
||||||
RegisterItem( BG_FindItemForWeapon( weapon ) );
|
RegisterItem( BG_FindItemForWeapon( weapon ) );
|
||||||
|
|
||||||
G_SetMovedir( ent->s.angles, ent->movedir );
|
G_SetMovedir( ent->s.angles, ent->movedir );
|
||||||
|
|
Loading…
Reference in a new issue