diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-10-12 22:10:08 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-10-12 22:10:08 +0200 |
commit | 1e068aea73388d6c756db7bdc1294cd524273692 (patch) | |
tree | 3421ac2134b5a0781dc11d924a5608a4fbc2838c | |
parent | Streaming and cross-platform fixes (diff) | |
download | re3-1e068aea73388d6c756db7bdc1294cd524273692.tar re3-1e068aea73388d6c756db7bdc1294cd524273692.tar.gz re3-1e068aea73388d6c756db7bdc1294cd524273692.tar.bz2 re3-1e068aea73388d6c756db7bdc1294cd524273692.tar.lz re3-1e068aea73388d6c756db7bdc1294cd524273692.tar.xz re3-1e068aea73388d6c756db7bdc1294cd524273692.tar.zst re3-1e068aea73388d6c756db7bdc1294cd524273692.zip |
-rw-r--r-- | src/render/Glass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Glass.cpp b/src/render/Glass.cpp index c52d49bd..aabb6e52 100644 --- a/src/render/Glass.cpp +++ b/src/render/Glass.cpp @@ -393,9 +393,9 @@ void CGlass::AskForObjectToBeRenderedInGlass(CEntity *entity) { #ifdef FIX_BUGS - if ( NumGlassEntities < NUM_GLASSPANES ) + if ( NumGlassEntities < NUM_GLASSENTITIES ) #else - if ( NumGlassEntities < NUM_GLASSPANES-1 ) + if ( NumGlassEntities < NUM_GLASSENTITIES-1 ) #endif { apEntitiesToBeRendered[NumGlassEntities++] = entity; |