mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-22 18:20:01 +00:00
tiny sync with miami
This commit is contained in:
parent
73fce903b8
commit
8128e8e817
|
@ -432,14 +432,14 @@ CWaterLevel::TestVisibilityForFineWaterBlocks(const CVector &worldPos)
|
||||||
|
|
||||||
if ((lineEnd.x > WORLD_MIN_X && lineEnd.x < WORLD_MAX_X) && (lineEnd.y > WORLD_MIN_Y && lineEnd.y < WORLD_MAX_Y))
|
if ((lineEnd.x > WORLD_MIN_X && lineEnd.x < WORLD_MAX_X) && (lineEnd.y > WORLD_MIN_Y && lineEnd.y < WORLD_MAX_Y))
|
||||||
{
|
{
|
||||||
if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false, false))
|
if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false))
|
||||||
{
|
{
|
||||||
lineStart.x += 0.4f;
|
lineStart.x += 0.4f;
|
||||||
lineStart.y += 0.4f;
|
lineStart.y += 0.4f;
|
||||||
lineEnd.x += 0.4f;
|
lineEnd.x += 0.4f;
|
||||||
lineEnd.y += 0.4f;
|
lineEnd.y += 0.4f;
|
||||||
|
|
||||||
if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false, false))
|
if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue