Marked CL_CheckModelResources() as static. Prototyped the function to make compilation of broken code fail on SMVC too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3061 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2008-11-14 16:43:28 +00:00
parent 1a8690e104
commit fc60c486e8

View file

@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
void CL_GetNumberedEntityInfo (int num, float *org, float *ang); void CL_GetNumberedEntityInfo (int num, float *org, float *ang);
void CLNQ_ParseDarkPlaces5Entities(void); void CLNQ_ParseDarkPlaces5Entities(void);
void CL_SetStatInt (int pnum, int stat, int value); void CL_SetStatInt (int pnum, int stat, int value);
static qboolean CL_CheckModelResources (char *name);
int nq_dp_protocol; int nq_dp_protocol;
int msgflags; int msgflags;
@ -693,7 +694,7 @@ qboolean CL_CheckQ2BspWals(char *file)
return gotone; return gotone;
} }
qboolean CL_CheckModelResources (char *name) static qboolean CL_CheckModelResources (char *name)
{ {
//returns true if we triggered a download //returns true if we triggered a download
qboolean ret; qboolean ret;