… | |
… | |
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 | */ |
444 | object * |
444 | static object * |
445 | fix_summon_pet (archetype *at, object *op, int dir, int is_golem) |
445 | fix_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) |