gl_fires/r_firecolor patch. Software client still builds and runs correctly,

but as I don't have GL at work, I have no idea if gl client still works, or if
rocket trails work (default to off). This is mostly a blind patch taking the
code from oldtree to newtree.
This commit is contained in:
Bill Currie 2000-06-19 22:15:18 +00:00
parent 6024c0ce7f
commit 1246b26046
6 changed files with 231 additions and 3 deletions

View file

@ -79,6 +79,7 @@ dlight_t *CL_AllocDlight (int key)
{
memset (dl, 0, sizeof(*dl));
dl->key = key;
dl->color = dl->_color;
return dl;
}
}
@ -92,6 +93,7 @@ dlight_t *CL_AllocDlight (int key)
{
memset (dl, 0, sizeof(*dl));
dl->key = key;
dl->color = dl->_color;
return dl;
}
}
@ -99,6 +101,7 @@ dlight_t *CL_AllocDlight (int key)
dl = &cl_dlights[0];
memset (dl, 0, sizeof(*dl));
dl->key = key;
dl->color = dl->_color;
return dl;
}