… | |
… | |
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 */ |