ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/monster.C
(Generate patch)

Comparing deliantra/server/server/monster.C (file contents):
Revision 1.61 by root, Mon Dec 29 14:32:51 2008 UTC vs.
Revision 1.62 by root, Thu Jan 1 16:05:13 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines