summaryrefslogtreecommitdiff
path: root/src/heretic/p_floor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_floor.c')
-rw-r--r--src/heretic/p_floor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/heretic/p_floor.c b/src/heretic/p_floor.c
index b91cc06b..24c7ffa2 100644
--- a/src/heretic/p_floor.c
+++ b/src/heretic/p_floor.c
@@ -196,7 +196,7 @@ void T_MoveFloor(floormove_t * floor)
floor->direction);
if (!(leveltime & 7))
{
- S_StartSound((mobj_t *) & floor->sector->soundorg, sfx_dormov);
+ S_StartSound(&floor->sector->soundorg, sfx_dormov);
}
if (res == pastdest)
@@ -204,7 +204,7 @@ void T_MoveFloor(floormove_t * floor)
floor->sector->specialdata = NULL;
if (floor->type == raiseBuildStep)
{
- S_StartSound((mobj_t *) & floor->sector->soundorg, sfx_pstop);
+ S_StartSound(&floor->sector->soundorg, sfx_pstop);
}
if (floor->direction == 1)
switch (floor->type)