Code not compiling under linux fixed and a warning silenced.

This commit is contained in:
Richard Allen 2003-08-31 14:48:33 +00:00
parent 50ebc6bbca
commit 961ed47b50
2 changed files with 8 additions and 2 deletions

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.150 2003/08/31 14:48:33 jbravo
// Code not compiling under linux fixed and a warning silenced.
//
// Revision 1.149 2003/08/10 20:13:26 makro
// no message
//
@ -361,7 +364,7 @@
#include "tr_types.h"
#include "../game/bg_public.h"
#include "cg_public.h"
#include "..\GAME\q_shared.h" // Added by ClassView
#include "../game/q_shared.h" // Added by ClassView
// The entire cgame module is unloaded and reloaded on each level change,
// so there is NO persistant data between levels on the client side.

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.74 2003/08/31 14:48:33 jbravo
// Code not compiling under linux fixed and a warning silenced.
//
// Revision 1.73 2003/08/10 20:13:26 makro
// no message
//
@ -813,7 +816,7 @@ static void InitBreakable_Finish(gentity_t * ent)
{
char info[MAX_INFO_STRING];
ent->think = NULL;
ent->think = 0;
ent->nextthink = 0;
if (ent->s.weapon < 0 || ent->s.weapon >= RQ3_MAX_BREAKABLES) {
G_Printf(S_COLOR_RED, "ERROR: Invalid func_breakable id (%d)\n", ent->s.weapon);