mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 12:49:02 +00:00
fix AskForObjectToBeRenderedInGlass
This commit is contained in:
parent
3772be32bf
commit
1e068aea73
1 changed files with 2 additions and 2 deletions
|
@ -393,9 +393,9 @@ void
|
||||||
CGlass::AskForObjectToBeRenderedInGlass(CEntity *entity)
|
CGlass::AskForObjectToBeRenderedInGlass(CEntity *entity)
|
||||||
{
|
{
|
||||||
#ifdef FIX_BUGS
|
#ifdef FIX_BUGS
|
||||||
if ( NumGlassEntities < NUM_GLASSPANES )
|
if ( NumGlassEntities < NUM_GLASSENTITIES )
|
||||||
#else
|
#else
|
||||||
if ( NumGlassEntities < NUM_GLASSPANES-1 )
|
if ( NumGlassEntities < NUM_GLASSENTITIES-1 )
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
apEntitiesToBeRendered[NumGlassEntities++] = entity;
|
apEntitiesToBeRendered[NumGlassEntities++] = entity;
|
||||||
|
|
Loading…
Reference in a new issue