summaryrefslogtreecommitdiff
path: root/src/strife/p_switch.c
diff options
context:
space:
mode:
authorJames Haley2010-08-30 02:38:44 +0000
committerJames Haley2010-08-30 02:38:44 +0000
commita1497b9f334e35cb9214891a62a08fdb6137b82c (patch)
tree492e9bbc333bde6c061d9f7a7b337b43377b835d /src/strife/p_switch.c
parent543d06e80da825cb5630501035c479dc36e2a9df (diff)
downloadchocolate-doom-a1497b9f334e35cb9214891a62a08fdb6137b82c.tar.gz
chocolate-doom-a1497b9f334e35cb9214891a62a08fdb6137b82c.tar.bz2
chocolate-doom-a1497b9f334e35cb9214891a62a08fdb6137b82c.zip
Added declaration and definition of menupause variable. Also uncommented
sound play in P_MoveWall since it's a sound that's shared with DOOM :) Subversion-branch: /branches/strife-branch Subversion-revision: 1975
Diffstat (limited to 'src/strife/p_switch.c')
-rw-r--r--src/strife/p_switch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/strife/p_switch.c b/src/strife/p_switch.c
index b8d29e72..2dd3af62 100644
--- a/src/strife/p_switch.c
+++ b/src/strife/p_switch.c
@@ -268,10 +268,9 @@ P_ChangeSwitchTexture
//
// P_MoveWall
//
-// villsa [STRIFE]
+// villsa [STRIFE] New function.
// Dynamically move a solid line. Unused in Strife
//
-
static void P_MoveWall(line_t *line, mobj_t *thing)
{
vertex_t *v2;
@@ -281,7 +280,7 @@ static void P_MoveWall(line_t *line, mobj_t *thing)
v1 = line->v1;
v2 = line->v2;
- //S_StartSound(thing, sfx_stnmov); [STRIFE] TODO - add sound
+ S_StartSound(thing, sfx_stnmov);
if (line->dx)
{