diff options
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r-- | crawl-ref/source/command.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index 590b17f9c6..82f8485588 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -869,7 +869,8 @@ static vector<string> _get_god_keys() for (int i = GOD_NO_GOD + 1; i < NUM_GODS; i++) { god_type which_god = static_cast<god_type>(i); - names.push_back(god_name(which_god)); + if (!is_disabled_god(which_god)) + names.push_back(god_name(which_god)); } return names; |