Skip to content

Commit

Permalink
"fix" weather file caching
Browse files Browse the repository at this point in the history
  • Loading branch information
TwelveEyes committed Jun 26, 2024
1 parent 2b4f44d commit 8c62c46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/rd-vanilla/tr_WorldEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ class COutside
////////////////////////////////////////////////////////////////////////////////////
inline bool PointOutside(const CVec3& pos, float width, float height)
{
for (int zone=0; zone<mWeatherZones.size(); zone++)
/* for (int zone=0; zone<mWeatherZones.size(); zone++)
{
SWeatherZone wz = mWeatherZones[zone];
if (wz.mExtents.In(pos))
Expand Down Expand Up @@ -876,7 +876,8 @@ class COutside
return true;
}
}
return !(SWeatherZone::mMarkedOutside);
return !(SWeatherZone::mMarkedOutside); */
return ContentsOutside(ri.CM_PointContents(pos.v, 0));
}
};
COutside mOutside;
Expand Down

0 comments on commit 8c62c46

Please sign in to comment.