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.90 by root, Sat May 15 23:41:06 2010 UTC vs.
Revision 1.91 by root, Sun Aug 22 20:11:13 2010 UTC

1273 /* for target facing, we copy this value here for fast access */ 1273 /* for target facing, we copy this value here for fast access */
1274 if (oph->head) /* force update the head - one arch one pic */ 1274 if (oph->head) /* force update the head - one arch one pic */
1275 oph = oph->head; 1275 oph = oph->head;
1276 1276
1277 if (op->flag [FLAG_NO_ATTACK]) /* we never ever attack */ 1277 if (op->flag [FLAG_NO_ATTACK]) /* we never ever attack */
1278 enemy = op->enemy = NULL; 1278 enemy = op->enemy = 0;
1279 else if ((enemy = find_enemy (op, &rv))) 1279 else if ((enemy = find_enemy (op, &rv)))
1280 /* we have an enemy, just tell him we want him dead */ 1280 /* we have an enemy, just tell him we want him dead */
1281 enemy->attacked_by = op; /* our ptr */ 1281 enemy->attacked_by = op; /* our ptr */
1282 1282
1283 /* generate hp, if applicable */ 1283 /* generate hp, if applicable */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines