get_race is better than old_race

This commit is contained in:
Enno Rehling 2016-09-19 08:56:33 +02:00
parent 115e13d513
commit b958fa1c2e
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ damage_unit(unit * u, const char *dam, bool physical, bool magic)
heiltrank = 0;
/* Sieben Leben */
if (old_race(u_race(u)) == RC_CAT && (chance(1.0 / 7))) {
if (u_race(u) == get_race(RC_CAT) && (chance(1.0 / 7))) {
hp[i] = u->hp / u->number;
hp_rem += hp[i];
continue;