diff options
author | Neil Moore <neil@s-z.org> | 2014-07-05 14:19:07 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-05 15:07:13 -0400 |
commit | ea682fd60d41980d04af1c0640a5f8a9a558d1ba (patch) | |
tree | 49cd720409dd4d97e227c3830b3cf527aaa52382 /crawl-ref/source/chardump.cc | |
parent | a413f1dc8091eb8e8fa15e68c9addb3b2b680968 (diff) | |
download | crawl-ref-ea682fd60d41980d04af1c0640a5f8a9a558d1ba.tar.gz crawl-ref-ea682fd60d41980d04af1c0640a5f8a9a558d1ba.zip |
Track eating in action counts.
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r-- | crawl-ref/source/chardump.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index f14d0402a3..059c9b6139 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -1141,6 +1141,8 @@ static string _describe_action(caction_type type) return " Use"; case CACT_STAB: return " Stab"; + case CACT_EAT: + return " Eat"; default: return "Error"; } @@ -1230,6 +1232,9 @@ static string _describe_action_subtype(caction_type type, int subtype) COMPILE_CHECK(ARRAYSZ(_stab_names) == NUM_STAB); ASSERT_RANGE(subtype, 1, NUM_STAB); return _stab_names[subtype]; + case CACT_EAT: + return subtype >= 0 ? uppercase_first(food_type_name(subtype)) + : "Corpse"; default: return "Error"; } |