summaryrefslogtreecommitdiff
path: root/src/heretic/p_ceilng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_ceilng.c')
-rw-r--r--src/heretic/p_ceilng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/heretic/p_ceilng.c b/src/heretic/p_ceilng.c
index 71b7b4b5..bf7ef676 100644
--- a/src/heretic/p_ceilng.c
+++ b/src/heretic/p_ceilng.c
@@ -55,7 +55,7 @@ void T_MoveCeiling(ceiling_t * ceiling)
ceiling->topheight, false, 1,
ceiling->direction);
if (!(leveltime & 7))
- S_StartSound((mobj_t *) & ceiling->sector->soundorg,
+ S_StartSound(&ceiling->sector->soundorg,
sfx_dormov);
if (res == pastdest)
switch (ceiling->type)
@@ -76,7 +76,7 @@ void T_MoveCeiling(ceiling_t * ceiling)
ceiling->bottomheight, ceiling->crush, 1,
ceiling->direction);
if (!(leveltime & 7))
- S_StartSound((mobj_t *) & ceiling->sector->soundorg,
+ S_StartSound(&ceiling->sector->soundorg,
sfx_dormov);
if (res == pastdest)
switch (ceiling->type)