only allocate vectors when used

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1756 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-04-08 09:26:12 +00:00
parent 3b23ffed01
commit b7ba3bfe3d
2 changed files with 24 additions and 30 deletions
-2
View File
@@ -283,8 +283,6 @@ VARP(bloodttl, 0, 10000, 30000);
void render_particles(int time)
{
extern float aspect;
extern int farplane, fov;
bool rendered = false;
for(int i = MAXPARTYPES-1; i>=0; i--) if(parlist[i])
{