version 1.54 | | version 1.55 |
---|
| | |
%{ | | %{ |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: loader.l,v 1.54 2003/10/15 09:39:42 gros Exp $"; | | * "$Id: loader.l,v 1.55 2003/11/11 07:58:30 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
((op->type == POTION || op->type == ALTAR) && op->stats.sp)) && !op->inv) { | | ((op->type == POTION || op->type == ALTAR) && op->stats.sp)) && !op->inv) { |
object *tmp; | | object *tmp; |
| | |
tmp = get_archetype(spell_mapping[op->stats.sp]); | | /* Fireall is bizarre in that spell type was stored in dam. Rest are 'normal' |
| | * in that spell was stored in sp. |
| | */ |
| | tmp = get_archetype(spell_mapping[op->type == FIREWALL?op->stats.dam:op->stats.sp]); |
insert_ob_in_ob(tmp, op); | | insert_ob_in_ob(tmp, op); |
op->randomitems = NULL; /* So another spell isn't created for this object */ | | op->randomitems = NULL; /* So another spell isn't created for this object */ |
} | | } |