mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2025-01-11 01:19:07 +01:00
waterlevel fix fix
This commit is contained in:
parent
2fc6b542bc
commit
8482180706
@ -714,7 +714,7 @@ CWaterLevel::GetWaterLevel(float fX, float fY, float fZ, float *pfOutLevel, bool
|
|||||||
if ( y < 0 || y >= MAX_SMALL_SECTORS ) return false;
|
if ( y < 0 || y >= MAX_SMALL_SECTORS ) return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint8 nBlock = aWaterFineBlockList[x][y];
|
int8 nBlock = aWaterFineBlockList[x][y];
|
||||||
|
|
||||||
if ( nBlock == NO_WATER )
|
if ( nBlock == NO_WATER )
|
||||||
return false;
|
return false;
|
||||||
@ -756,7 +756,7 @@ CWaterLevel::GetWaterLevelNoWaves(float fX, float fY, float fZ, float *pfOutLeve
|
|||||||
if ( y < 0 || y >= MAX_SMALL_SECTORS ) return false;
|
if ( y < 0 || y >= MAX_SMALL_SECTORS ) return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint8 nBlock = aWaterFineBlockList[x][y];
|
int8 nBlock = aWaterFineBlockList[x][y];
|
||||||
|
|
||||||
if ( nBlock == NO_WATER )
|
if ( nBlock == NO_WATER )
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user