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

Comparing deliantra/server/server/disease.C (file contents):
Revision 1.59 by root, Mon Nov 23 14:09:05 2009 UTC vs.
Revision 1.60 by root, Sun Nov 29 17:41:08 2009 UTC

532 victim->play_sound (symptom->sound); 532 victim->play_sound (symptom->sound);
533 533
534 if (symptom->other_arch) 534 if (symptom->other_arch)
535 for (object *tmp = victim->head_ (); tmp; tmp = tmp->more) 535 for (object *tmp = victim->head_ (); tmp; tmp = tmp->more)
536 { 536 {
537 object *new_ob = arch_to_object (symptom->other_arch); 537 object *new_ob = symptom->other_arch->instance ();
538 new_ob->x = tmp->x; 538 new_ob->x = tmp->x;
539 new_ob->y = tmp->y; 539 new_ob->y = tmp->y;
540 new_ob->map = victim->map; 540 new_ob->map = victim->map;
541 insert_ob_in_map (new_ob, victim->map, victim, 0); 541 insert_ob_in_map (new_ob, victim->map, victim, 0);
542 } 542 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines