diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-13 12:40:50 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-13 12:40:50 +0000 |
commit | 1b7682ecfe6bb7d7d37e73f8769a452fdc8b04d2 (patch) | |
tree | 153c6ac2a903248e5c28e39b4a6cc3928834951a /crawl-ref/source/effects.cc | |
parent | 0eb7e87096f07509f3fed6a82fab696d505a2c18 (diff) | |
download | crawl-ref-1b7682ecfe6bb7d7d37e73f8769a452fdc8b04d2.tar.gz crawl-ref-1b7682ecfe6bb7d7d37e73f8769a452fdc8b04d2.zip |
General code cleanups and goto removal.
Fixed a possible crash when using Backspace to restart character selection.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1855 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r-- | crawl-ref/source/effects.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 4dfe3323ee..3cfafba58c 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -512,13 +512,13 @@ static int find_acquirement_subtype(object_class_type class_wanted, { // Meat is better than bread (except for herbivores), and // by choosing it as the default we don't have to worry - // about special cases for carnivorous races (ie kobold) + // about special cases for carnivorous races (e.g. kobolds) type_wanted = FOOD_MEAT_RATION; if (you.mutation[MUT_HERBIVOROUS]) type_wanted = FOOD_BREAD_RATION; - // If we have some regular rations, then we're probably be more + // If we have some regular rations, then we're probably more // interested in faster foods (especially royal jelly)... // otherwise the regular rations should be a good enough offer. if (already_has[FOOD_MEAT_RATION] |