mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-22 11:31:16 +00:00
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:
parent
fc60c486e8
commit
eda9cfded4
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ static void PClassic_InitParticles (void)
|
||||||
r_numparticles = DEFAULT_NUM_PARTICLES;
|
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");
|
particles = (cparticle_t *) BZ_Malloc (r_numparticles * sizeof(cparticle_t), "classic:particles");
|
||||||
|
|
||||||
CL_RegisterParticles();
|
CL_RegisterParticles();
|
||||||
|
|
Loading…
Reference in a new issue