Misc debug mode tweaks

- Disable debug/ghost mode when scenario ends and when loading a saved game
- Show location works in combat mode
- Edit/view SDF and enter town now use numeric response dialog
- Refreshing stores/towns no longer works outside of debug mode
- Ghost mode works in combat
This commit is contained in:
2014-12-10 20:16:54 -05:00
parent e8c2654bad
commit f0066dd76e
3 changed files with 19 additions and 12 deletions

View File

@@ -29,6 +29,7 @@
//extern big_tr_type t_d;
//extern town_item_list t_i;
extern eGameMode overall_mode;
extern bool ghost_mode;
extern short which_combat_type;
extern short stat_window;
extern location center;
@@ -448,8 +449,7 @@ bool pc_combat_move(location destination) ////
if (check_f == true)
forced = true;
if (spec_num == 50)
forced = true;
if(in_scen_debug && ghost_mode) forced = true;
if (keep_going == true) {