capitalized all enums

This commit is contained in:
a25liang
2024-07-20 15:11:13 -04:00
parent af1522ba2f
commit 525226b763
53 changed files with 393 additions and 395 deletions

View File

@ -4,7 +4,7 @@
dragon::dragon(RNG *rng, const feature enabled_features, const position &pos,
const int gen_room_num):
enemy_base{rng, enabled_features, rdragon, pos, gen_room_num, "D"} {}
enemy_base{rng, enabled_features, DRAGON, pos, gen_room_num, "D"} {}
const char *dragon::get_race_name() const {
return "Dragon";
@ -14,7 +14,7 @@ long_result dragon::act(level *lvl, character *pc, bool hostile) {
if (is_adjacent(pos, pc->get_pos()) && hostile)
return attack(pc);
return {fine, ""};
return {NOTHING, ""};
}
int dragon::dies(level *lvl) {