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
This commit is contained in:
Mark Olsen 2008-11-14 16:46:30 +00:00
parent fc60c486e8
commit eda9cfded4

View file

@ -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();