Remove a useless check for being unregistered in a scenario

This commit is contained in:
2014-04-19 08:47:57 -04:00
parent 211cf06b5c
commit 081b04b8de
2 changed files with 0 additions and 12 deletions

View File

@@ -87,7 +87,6 @@ cItemRec start_items[6] = {cItemRec('nife'),cItemRec('buck'),cItemRec('bow '),cI
bool item_area_button_active[8][6];
bool pc_area_button_active[6][5];
short item_bottom_button_active[9] = {0,0,0,0,0, 0,1,1,1};
bool unreg_party_in_scen_not_check = false;
RECT pc_help_button,pc_area_rect,item_area_rect;
@@ -332,16 +331,6 @@ bool handle_action(sf::Event event)
special_queue[i].spec = -1;
end_scenario = false;
if (unreg_party_in_scen_not_check == true) {
if (/*enter_password() == */false) {
end_scenario = true;
}
else {
in_scen_debug = true;
ASB("Debug mode ON.");
}
unreg_party_in_scen_not_check = false;
}
// Now split off the extra stuff, like talking and shopping.
if (overall_mode == MODE_TALKING) {
handle_talk_event(the_point);

View File

@@ -33,7 +33,6 @@ extern sf::RenderWindow mainPtr;
extern location ul;
//extern piles_of_stuff_dumping_type *data_store;
extern cScenarioList scen_headers;;
extern bool unreg_party_in_scen_not_check;
//extern std::vector<std::string> scen_names;;
extern cUniverse univ;
extern eGameMode overall_mode;