summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-10-12 22:10:08 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-10-12 22:10:08 +0200
commit1e068aea73388d6c756db7bdc1294cd524273692 (patch)
tree3421ac2134b5a0781dc11d924a5608a4fbc2838c /src/render
parentStreaming and cross-platform fixes (diff)
downloadre3-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
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Glass.cpp4
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;