mirror of
https://github.com/halpz/re3.git
synced 2025-01-09 20:35:27 +00:00
fix
This commit is contained in:
parent
776e8ff2ee
commit
7a351f18ba
|
@ -1287,7 +1287,7 @@ CWaterLevel::RenderTransparentWater(void)
|
||||||
|
|
||||||
if ( fHugeSectorMaxRenderDistSqr > fHugeSectorDistToCamSqr )
|
if ( fHugeSectorMaxRenderDistSqr > fHugeSectorDistToCamSqr )
|
||||||
{
|
{
|
||||||
if ( TheCamera.IsSphereVisible(CVector(vecHugeSectorCentre.x, vecHugeSectorCentre.y, 0.0f), SectorRadius(HUGE_SECTOR_SIZE))) )
|
if ( TheCamera.IsSphereVisible(CVector(vecHugeSectorCentre.x, vecHugeSectorCentre.y, 0.0f), SectorRadius(HUGE_SECTOR_SIZE)) )
|
||||||
{
|
{
|
||||||
if ( fHugeSectorDistToCamSqr >= SQR(500.0f) )
|
if ( fHugeSectorDistToCamSqr >= SQR(500.0f) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue