summaryrefslogtreecommitdiff
path: root/src/heretic/p_switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_switch.c')
-rw-r--r--src/heretic/p_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/p_switch.c b/src/heretic/p_switch.c
index d1d7e0bf..cef6a74b 100644
--- a/src/heretic/p_switch.c
+++ b/src/heretic/p_switch.c
@@ -152,7 +152,7 @@ void P_StartButton(line_t * line, bwhere_e w, int texture, int time)
buttonlist[i].where = w;
buttonlist[i].btexture = texture;
buttonlist[i].btimer = time;
- buttonlist[i].soundorg = (mobj_t *) & line->frontsector->soundorg;
+ buttonlist[i].soundorg = &line->frontsector->soundorg;
return;
}