mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-29 16:21:46 +00:00
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:
parent
6024c0ce7f
commit
1246b26046
6 changed files with 231 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue