diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-17 21:36:30 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-17 21:36:30 +0000 |
commit | 7b768f7fac47ee709312b381e5844b55f58d3553 (patch) | |
tree | b2876cd5f9a27add79eaa6e99e82c7dbe5dbd7ca /crawl-ref/source/command.cc | |
parent | 5f770d9133518e7f43d8064ca11acbd9830c0cfc (diff) | |
download | crawl-ref-7b768f7fac47ee709312b381e5844b55f58d3553.tar.gz crawl-ref-7b768f7fac47ee709312b381e5844b55f58d3553.zip |
* More steps on the path to reintroducing player doll customization.
Also apply my two previous commits to trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9995 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r-- | crawl-ref/source/command.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index fd9fa3b399..4afd3aebea 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -660,14 +660,14 @@ void list_weapons(void) mpr(wstring.c_str(), MSGCH_EQUIPMENT, colour); // Print out the swap slots. - for (int i = 0; i <= 1; i++) + for (int i = 0; i <= 1; ++i) { // We'll avoid repeating the current weapon for these slots, // in order to keep things clean. if (weapon_id == i) continue; - if ( i == 0 ) + if (i == 0) wstring = "Primary : "; else wstring = "Secondary : "; @@ -724,8 +724,8 @@ void list_weapons(void) if (colour == MSGCOL_BLACK) colour = menu_colour(wstring, "", "equip"); - mpr( wstring.c_str(), MSGCH_EQUIPMENT, colour ); -} // end list_weapons() + mpr(wstring.c_str(), MSGCH_EQUIPMENT, colour); +} static bool _cmdhelp_textfilter(const std::string &tag) { |