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

Comparing deliantra/server/server/pets.C (file contents):
Revision 1.55 by root, Fri Nov 6 12:49:19 2009 UTC vs.
Revision 1.56 by root, Fri Nov 6 13:03:34 2009 UTC

439 * proper for map insertion. 439 * proper for map insertion.
440 * at is the archetype, op is the caster of the spell, dir is the 440 * at is the archetype, op is the caster of the spell, dir is the
441 * direction the monster should be placed in. 441 * direction the monster should be placed in.
442 * is_golem is to note that this is a golem spell. 442 * is_golem is to note that this is a golem spell.
443 */ 443 */
444object * 444static object *
445fix_summon_pet (archetype *at, object *op, int dir, int is_golem) 445fix_summon_pet (archetype *at, object *op, int dir, int is_golem)
446{ 446{
447 object *tmp = NULL, *prev = NULL, *head = NULL; 447 object *tmp = NULL, *prev = NULL, *head = NULL;
448 448
449 for (archetype *atmp = at; atmp; atmp = (archetype *)atmp->more) 449 for (archetype *atmp = at; atmp; atmp = (archetype *)atmp->more)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines