… | |
… | |
447 | |
447 | |
448 | /* doppleganger code to change monster facing to that of the nearest |
448 | /* doppleganger code to change monster facing to that of the nearest |
449 | * player. Hmm. The code is here, but no monster in the current |
449 | * player. Hmm. The code is here, but no monster in the current |
450 | * arch set uses it. |
450 | * arch set uses it. |
451 | */ |
451 | */ |
452 | if (op->race && strcmp (op->race, "doppleganger") == 0) |
452 | if (op->race == shstr_doppleganger) |
453 | { |
453 | { |
454 | op->face = enemy->face; |
454 | op->face = enemy->face; |
455 | op->name = enemy->name; |
455 | op->name = enemy->name; |
456 | } |
456 | } |
457 | |
457 | |