diff --git a/src/game/boe.main.cpp b/src/game/boe.main.cpp index 4ebad1b8..97f8d1f1 100644 --- a/src/game/boe.main.cpp +++ b/src/game/boe.main.cpp @@ -98,7 +98,8 @@ std::string help_text_rsrc = "help"; std::map> feature_flags = { // Legacy behavior of the T debug action (used by some replays) // does not change the party's outdoors location - {"debug-enter-town", {"move-outdoors"}} + {"debug-enter-town", {"move-outdoors"}}, + {"target-lock", {"V1"}} }; struct cParseEntrance { diff --git a/src/game/boe.newgraph.cpp b/src/game/boe.newgraph.cpp index 7068b4c1..91f25561 100644 --- a/src/game/boe.newgraph.cpp +++ b/src/game/boe.newgraph.cpp @@ -1040,7 +1040,7 @@ short scan_for_response(const char *str) { void handle_target_mode(eGameMode target_mode, int range) { overall_mode = target_mode; // Lock on to enemies in range: - if(get_bool_pref("TargetLock", true)){ + if(has_feature_flag("target-lock", "V1") && get_bool_pref("TargetLock", true)){ location loc = univ.current_pc().combat_pos; std::vector enemy_locs_in_range;