From f238db4a34d0a421fa64f7cd6c2321ef3a91f56e Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Wed, 6 May 2026 15:19:25 -0700 Subject: [PATCH] Fixed an issue when compiling Doom and not prey. --- neo/doomdll.vcxproj | 33 +++++++++++++++++++++++++-------- neo/renderer/Material.cpp | 2 ++ 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/neo/doomdll.vcxproj b/neo/doomdll.vcxproj index a30ad77d..fa9f5cb2 100644 --- a/neo/doomdll.vcxproj +++ b/neo/doomdll.vcxproj @@ -1386,14 +1386,30 @@ false false - - - - - - - - + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + @@ -3341,6 +3357,7 @@ {6cd8e46d-e28e-493f-bb06-537a637a68c2} + false diff --git a/neo/renderer/Material.cpp b/neo/renderer/Material.cpp index 6cc52aa4..8e9bac44 100644 --- a/neo/renderer/Material.cpp +++ b/neo/renderer/Material.cpp @@ -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; }