summaryrefslogtreecommitdiff
path: root/src/heretic/p_switch.c
diff options
context:
space:
mode:
authorSimon Howard2008-11-23 17:39:11 +0000
committerSimon Howard2008-11-23 17:39:11 +0000
commit828b09914106de7dc00199fa810278e12988324b (patch)
tree5930baea968b2b3c84cf364df7d046e1fc3c7469 /src/heretic/p_switch.c
parentae18d8c4b6f7f918aa5ec496ca32899793cbe41e (diff)
downloadchocolate-doom-828b09914106de7dc00199fa810278e12988324b.tar.gz
chocolate-doom-828b09914106de7dc00199fa810278e12988324b.tar.bz2
chocolate-doom-828b09914106de7dc00199fa810278e12988324b.zip
Shut up compiler warnings in Heretic code.
Subversion-branch: /branches/raven-branch Subversion-revision: 1385
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;
}