mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
fix SURFACE_SAND
This commit is contained in:
1 parent
895580c724
commit
98af5e4ddb
1 file changed
+2
-2
@@ -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 )
|
||||
|
||||
Reference in new issue
Block a user