summaryrefslogtreecommitdiff
path: root/src/heretic/p_doors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_doors.c')
-rw-r--r--src/heretic/p_doors.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/heretic/p_doors.c b/src/heretic/p_doors.c
index 56e37119..cd5e4e87 100644
--- a/src/heretic/p_doors.c
+++ b/src/heretic/p_doors.c
@@ -213,7 +213,6 @@ int EV_DoDoor(line_t * line, vldoor_e type, fixed_t speed)
void EV_VerticalDoor(line_t * line, mobj_t * thing)
{
player_t *player;
- int secnum;
sector_t *sec;
vldoor_t *door;
int side;
@@ -268,7 +267,6 @@ void EV_VerticalDoor(line_t * line, mobj_t * thing)
// if the sector has an active thinker, use it
sec = sides[line->sidenum[side ^ 1]].sector;
- secnum = sec - sectors;
if (sec->specialdata)
{
door = sec->specialdata;