mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2025-02-17 10:36:21 +01:00
fix SURFACE_SAND
This commit is contained in:
parent
895580c724
commit
98af5e4ddb
@ -2884,7 +2884,7 @@ CWaterLevel::HandleBeachToysStuff(void)
|
|||||||
|
|
||||||
if ( GetGroundLevel(vecPos, &fGroundLevel, &coldata, 30.0f) )
|
if ( GetGroundLevel(vecPos, &fGroundLevel, &coldata, 30.0f) )
|
||||||
{
|
{
|
||||||
if ( coldata.SurfaceType == 18 )
|
if ( coldata.SurfaceType == SURFACE_SAND )
|
||||||
{
|
{
|
||||||
CEntity *toy = CreateBeachToy(vecPos, BEACHTOY_BALL);
|
CEntity *toy = CreateBeachToy(vecPos, BEACHTOY_BALL);
|
||||||
|
|
||||||
@ -2928,7 +2928,7 @@ CWaterLevel::HandleBeachToysStuff(void)
|
|||||||
|
|
||||||
if ( GetGroundLevel(vecPos, &fGroundLevel, &coldata, 30.0f) )
|
if ( GetGroundLevel(vecPos, &fGroundLevel, &coldata, 30.0f) )
|
||||||
{
|
{
|
||||||
if ( coldata.SurfaceType == 18 )
|
if ( coldata.SurfaceType == SURFACE_SAND )
|
||||||
{
|
{
|
||||||
CEntity *toy = CreateBeachToy(vecPos, BEACHTOY_LOUNGE);
|
CEntity *toy = CreateBeachToy(vecPos, BEACHTOY_LOUNGE);
|
||||||
if ( toy )
|
if ( toy )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user