removed all C-style casts
This commit is contained in:
@ -6,10 +6,6 @@ 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"} {}
|
||||
|
||||
void dragon::print(output *out) {
|
||||
out->print_char(pos, 'D', COLOR_PAIR(COLOR_RED));
|
||||
}
|
||||
|
||||
const char *dragon::get_race_name() const {
|
||||
return "Dragon";
|
||||
}
|
||||
@ -20,3 +16,7 @@ long_result dragon::act(level *lvl, character *pc, bool hostile) {
|
||||
|
||||
return {fine, ""};
|
||||
}
|
||||
|
||||
int dragon::dies(level *lvl) {
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user