summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/render/WaterLevel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/WaterLevel.cpp b/src/render/WaterLevel.cpp
index 29845aa6..0eb82fd6 100644
--- a/src/render/WaterLevel.cpp
+++ b/src/render/WaterLevel.cpp
@@ -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 )