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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.277 by root, Wed Nov 16 23:42:02 2016 UTC vs.
Revision 1.278 by root, Thu Nov 17 04:49:22 2016 UTC

2094 case ARROW: 2094 case ARROW:
2095 /* bad bug: monster throw a object, make a step forwards, step on object , 2095 /* bad bug: monster throw a object, make a step forwards, step on object ,
2096 * trigger this here and get hit by own missile - and will be own enemy. 2096 * trigger this here and get hit by own missile - and will be own enemy.
2097 * Victim then is his own enemy and will start to kill herself (this is 2097 * Victim then is his own enemy and will start to kill herself (this is
2098 * removed) but we have not synced victim and his missile. To avoid senseless 2098 * removed) but we have not synced victim and his missile. To avoid senseless
2099 * action, we avoid hits here 2099 * action, we avoid hits here
2100 */ 2100 */
2101 if ((victim->flag [FLAG_ALIVE] && trap->has_active_speed ()) 2101 if ((victim->flag [FLAG_ALIVE] && trap->has_active_speed ())
2102 && trap->owner != victim) 2102 && trap->owner != victim)
2103 hit_with_arrow (trap, victim); 2103 hit_with_arrow (trap, victim);
2104 break; 2104 break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines