summaryrefslogtreecommitdiff
path: root/src/hexen/p_doors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/p_doors.c')
-rw-r--r--src/hexen/p_doors.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hexen/p_doors.c b/src/hexen/p_doors.c
index 8193b4ab..92ccec8a 100644
--- a/src/hexen/p_doors.c
+++ b/src/hexen/p_doors.c
@@ -206,7 +206,6 @@ int EV_DoDoor(line_t * line, byte * args, vldoor_e type)
//==================================================================
boolean EV_VerticalDoor(line_t * line, mobj_t * thing)
{
- int secnum;
sector_t *sec;
vldoor_t *door;
int side;
@@ -215,7 +214,6 @@ boolean 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)
{
return false;