From 322e8aa7de3aca00b978d0f3fff1defa92712a89 Mon Sep 17 00:00:00 2001 From: Victor Chow Date: Wed, 14 Nov 2001 05:04:29 +0000 Subject: [PATCH] Elder: VM 0-20-00 Server-Side --- reaction/game/bg_pmove.c | 4 ++++ reaction/game/bg_public.h | 1 + 2 files changed, 5 insertions(+) diff --git a/reaction/game/bg_pmove.c b/reaction/game/bg_pmove.c index 6f39ff98..94663f85 100644 --- a/reaction/game/bg_pmove.c +++ b/reaction/game/bg_pmove.c @@ -1199,6 +1199,10 @@ static int PM_FootstepForSurface( void ) { if ( pml.groundTrace.surfaceFlags & SURF_GRASS ) { return EV_FOOTSTEP_GRASS; } + + //if ( pml.groundTrace.surfaceFlags & SURF_GRAVEL ) { + //return EV_FOOTSTEP_GRAVEL; + //} if ( pml.groundTrace.surfaceFlags & SURF_WOOD ) { return EV_FOOTSTEP_WOOD; diff --git a/reaction/game/bg_public.h b/reaction/game/bg_public.h index a03a026c..0f42e2d5 100644 --- a/reaction/game/bg_public.h +++ b/reaction/game/bg_public.h @@ -778,6 +778,7 @@ typedef enum { EV_FOOTSTEP_WOOD, EV_FOOTSTEP_CARPET, EV_FOOTSTEP_METAL2, + //EV_FOOTSTEP_GRAVEL, EV_FOOTSPLASH, EV_FOOTWADE, EV_SWIM,