diff options
Diffstat (limited to 'src/strife/p_doors.c')
-rw-r--r-- | src/strife/p_doors.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/strife/p_doors.c b/src/strife/p_doors.c index 850baac6..e85d9d7d 100644 --- a/src/strife/p_doors.c +++ b/src/strife/p_doors.c @@ -504,19 +504,16 @@ int EV_DoDoor(line_t* line, vldoor_e type) boolean EV_ClearForceFields(line_t* line) { int secnum; - int rtn; sector_t* sec; int i; line_t* secline; boolean ret = false; secnum = -1; - rtn = 0; while((secnum = P_FindSectorFromLineTag(line,secnum)) >= 0) { sec = §ors[secnum]; - rtn = 1; line->special = 0; ret = true; @@ -549,7 +546,6 @@ boolean EV_ClearForceFields(line_t* line) void EV_VerticalDoor(line_t* line, mobj_t* thing) { player_t* player; - int secnum; sector_t* sec; vldoor_t* door; int side; @@ -730,7 +726,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) { |