CTR: Fix missing last_lightmap_allocated def

This commit is contained in:
MotoLegacy 2024-11-28 20:27:09 -08:00
parent 8ec6018ba2
commit 7482eb077f

View file

@ -1521,6 +1521,7 @@ void R_MarkLeaves (void)
AllocBlock -- returns a texture number and the position inside it
========================
*/
int last_lightmap_allocated; // ericw -- optimization: remember the index of the last lightmap AllocBlock stored a surf in
int AllocBlock (int w, int h, int *x, int *y)
{
int i, j;