Fixed an issue when compiling Doom and not prey.

This commit is contained in:
Justin Marshall
2026-05-06 15:19:25 -07:00
parent 7c5ddb4336
commit f238db4a34
2 changed files with 27 additions and 8 deletions
+2
View File
@@ -1906,11 +1906,13 @@ idMaterial::GetGlowImage
===================
*/
idImage* idMaterial::GetGlowImage(void) const {
#ifdef PREY
for (int i = 0; i < numStages; i++) {
if ((stages[i].lighting == SL_GLOWMAP || stages[i].isGlow) && stages[i].texture.image) {
return stages[i].texture.image;
}
}
#endif
return NULL;
}