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.28 by root, Tue May 1 05:48:20 2007 UTC vs.
Revision 1.29 by root, Thu May 3 09:26:45 2007 UTC

480 if (!QUERY_FLAG (op, FLAG_SCARED)) 480 if (!QUERY_FLAG (op, FLAG_SCARED))
481 { 481 {
482 rv_vector rv1; 482 rv_vector rv1;
483 483
484 /* now we test every part of an object .... this is a real ugly piece of code */ 484 /* now we test every part of an object .... this is a real ugly piece of code */
485 for (part = op; part != NULL; part = part->more) 485 for (part = op; part; part = part->more)
486 { 486 {
487 get_rangevector (part, enemy, &rv1, 0x1); 487 get_rangevector (part, enemy, &rv1, 0x1);
488 dir = rv1.direction; 488 dir = rv1.direction;
489 489
490 /* hm, not sure about this part - in original was a scared flag here too 490 /* hm, not sure about this part - in original was a scared flag here too

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines