summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-20 23:53:11 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-20 23:54:42 +0100
commit84c9a0c45f414bdada0e3530d9c219dc911b761f (patch)
tree237a9b327d6c33773cc76e0b77dbaf0f0dc12dfc /crawl-ref/source/state.h
parentc13c245893eb48375ef468dddd556576f137bf47 (diff)
downloadcrawl-ref-84c9a0c45f414bdada0e3530d9c219dc911b761f.tar.gz
crawl-ref-84c9a0c45f414bdada0e3530d9c219dc911b761f.zip
Fix cmdline --gdb not working outside of --test and friends.
It can't be stored in the options struct, as it's re-initialized when a game starts, overwriting whatever came from the command line.
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r--crawl-ref/source/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index e63be5ee1b..34cb87c459 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -44,6 +44,7 @@ struct game_state
bool need_save; // Set to true when game has started.
bool saving_game; // Set to true while in save_game.
bool updating_scores; // Set to true while updating hiscores.
+ const char* no_gdb; // reason for not running gdb
int seen_hups; // Set to true if SIGHUP received.