- fixed the check for RR's geometry effect.

This always got triggered for Duke which made the entire map render 3 times. The most obvious effect was reduced translucency.
This commit is contained in:
Christoph Oelckers 2021-04-23 21:36:51 +02:00
parent 3766c5aed0
commit c05df44ad4

View file

@ -147,7 +147,7 @@ void GameInterface::LeavePortal(spritetype* viewer, int type)
bool GameInterface::GetGeoEffect(GeoEffect* eff, int viewsector)
{
if (!isRR() || sector[viewsector].lotag == 848)
if (isRR() && sector[viewsector].lotag == 848)
{
eff->geocnt = geocnt;
eff->geosector = geosector;