1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-05 13:55:54 +00:00

fix SURFACE_SAND

This commit is contained in:
Fire-Head 2020-05-28 00:28:36 +03:00
parent 895580c724
commit 98af5e4ddb

View file

@ -2884,7 +2884,7 @@ CWaterLevel::HandleBeachToysStuff(void)
if ( GetGroundLevel(vecPos, &fGroundLevel, &coldata, 30.0f) )
{
if ( coldata.SurfaceType == 18 )
if ( coldata.SurfaceType == SURFACE_SAND )
{
CEntity *toy = CreateBeachToy(vecPos, BEACHTOY_BALL);
@ -2928,7 +2928,7 @@ CWaterLevel::HandleBeachToysStuff(void)
if ( GetGroundLevel(vecPos, &fGroundLevel, &coldata, 30.0f) )
{
if ( coldata.SurfaceType == 18 )
if ( coldata.SurfaceType == SURFACE_SAND )
{
CEntity *toy = CreateBeachToy(vecPos, BEACHTOY_LOUNGE);
if ( toy )