From eda9cfded47527370edad1866f6f37a64aa7340d Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Fri, 14 Nov 2008 16:46:30 +0000 Subject: [PATCH] Added #error for invalid C code that SMVC happily compiles. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3062 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/p_classic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/client/p_classic.c b/engine/client/p_classic.c index 5c3c29a82..6f0aa6e04 100644 --- a/engine/client/p_classic.c +++ b/engine/client/p_classic.c @@ -157,6 +157,7 @@ static void PClassic_InitParticles (void) r_numparticles = DEFAULT_NUM_PARTICLES; } +#error BZ_Malloc() only takes one argument, but SMVC doesn't care. particles = (cparticle_t *) BZ_Malloc (r_numparticles * sizeof(cparticle_t), "classic:particles"); CL_RegisterParticles();