diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-05-27 23:28:36 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-05-27 23:28:36 +0200 |
commit | 98af5e4ddb5f398dda2490f49bad5efd8c766460 (patch) | |
tree | cdeb99cd7c5c585276b39c4ef5a7aef49d6e0232 /src/render | |
parent | seagulls, ships (diff) | |
download | re3-98af5e4ddb5f398dda2490f49bad5efd8c766460.tar re3-98af5e4ddb5f398dda2490f49bad5efd8c766460.tar.gz re3-98af5e4ddb5f398dda2490f49bad5efd8c766460.tar.bz2 re3-98af5e4ddb5f398dda2490f49bad5efd8c766460.tar.lz re3-98af5e4ddb5f398dda2490f49bad5efd8c766460.tar.xz re3-98af5e4ddb5f398dda2490f49bad5efd8c766460.tar.zst re3-98af5e4ddb5f398dda2490f49bad5efd8c766460.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/WaterLevel.cpp | 4 |
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 ) |