summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/main.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-12-27 18:21:20 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-12-27 18:24:21 +0300
commitcaad029e611bb2eeedcab049d624a9e2be4e0dd5 (patch)
tree53811b91d8db9810563eff2984cc552a9fee6838 /crawl-ref/source/main.cc
parent21c3ed598c240e9ab0bcb856c6dc84d2cee11f99 (diff)
downloadcrawl-ref-caad029e611bb2eeedcab049d624a9e2be4e0dd5.tar.gz
crawl-ref-caad029e611bb2eeedcab049d624a9e2be4e0dd5.zip
Unify wizard_create_feature_{name,number}.
It works fine, but it does not show the verbose message about placing the feature, as wizard_create_feature_name used to. (This doesn't seem very necessary since debug-mode 'x' tends to give enough information.)
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r--crawl-ref/source/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc
index c1b4c6d615..9dcd774a00 100644
--- a/crawl-ref/source/main.cc
+++ b/crawl-ref/source/main.cc
@@ -533,8 +533,8 @@ static void _do_wizard_command(int wiz_command, bool silent_fail)
case 'I': wizard_unidentify_pack(); break;
case 'Z':
case 'z': wizard_cast_spec_spell(); break;
- case '(': wizard_create_feature_number(); break;
- case ')': wizard_create_feature_name(); break;
+ case '(':
+ case ')': wizard_create_feature(); break;
case ':': wizard_list_branches(); break;
case '{': wizard_map_level(); break;
case '}': wizard_reveal_traps(); break;