added experimental additional check for shadow active
This commit is contained in:
parent
89aca4882d
commit
a8a6cc3cfa
2 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ void GfxOpenGL::startActorDraw(Graphics::Vector3d pos, float yaw, float pitch, f
|
|||
glEnable(GL_TEXTURE_2D);
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glPushMatrix();
|
||||
if (_currentShadowArray) {
|
||||
if (_currentShadowArray && _currentShadowArray->active) {
|
||||
SectorListType::iterator i = _currentShadowArray->planeList.begin();
|
||||
Sector *shadowSector = *i;
|
||||
glEnable(GL_POLYGON_OFFSET_FILL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue