From 21c9aa6c1650a75cf7fb503f8513f1e848d806e0 Mon Sep 17 00:00:00 2001 From: Kp Date: Sat, 8 Dec 2012 21:33:14 +0000 Subject: [PATCH] Remove unused ESCORT_GOAL_EXIT2 --- common/main/ai.h | 1 - d2x-rebirth/main/escort.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/common/main/ai.h b/common/main/ai.h index 189b5a177..d6d581ced 100644 --- a/common/main/ai.h +++ b/common/main/ai.h @@ -173,7 +173,6 @@ extern vms_vector Last_fired_upon_player_pos; #define ESCORT_GOAL_HOSTAGE 11 #define ESCORT_GOAL_PLAYER_SPEW 12 #define ESCORT_GOAL_SCRAM 13 -#define ESCORT_GOAL_EXIT2 14 #define ESCORT_GOAL_BOSS 15 #define ESCORT_GOAL_MARKER1 16 #define ESCORT_GOAL_MARKER2 17 diff --git a/d2x-rebirth/main/escort.cpp b/d2x-rebirth/main/escort.cpp index 26fec9f78..fffe38667 100644 --- a/d2x-rebirth/main/escort.cpp +++ b/d2x-rebirth/main/escort.cpp @@ -730,7 +730,6 @@ static void escort_create_path_to_goal(object *objp) if (Escort_goal_index > -1) goal_seg = Objects[Escort_goal_index].segnum; break; case ESCORT_GOAL_EXIT: - case ESCORT_GOAL_EXIT2: goal_seg = find_exit_segment(); Escort_goal_index = goal_seg; break;