From fc60c486e86d81ac51644871718083e65ba5fd3a Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Fri, 14 Nov 2008 16:43:28 +0000 Subject: [PATCH] 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 --- engine/client/cl_parse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 46fd35043..f9fe1b79f 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -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 CLNQ_ParseDarkPlaces5Entities(void); void CL_SetStatInt (int pnum, int stat, int value); +static qboolean CL_CheckModelResources (char *name); int nq_dp_protocol; int msgflags; @@ -693,7 +694,7 @@ qboolean CL_CheckQ2BspWals(char *file) return gotone; } -qboolean CL_CheckModelResources (char *name) +static qboolean CL_CheckModelResources (char *name) { //returns true if we triggered a download qboolean ret;