version 1.132 | | version 1.133 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.132 2005/08/12 08:18:59 ryo_saeba Exp $"; | | * "$Id: spell_effect.c,v 1.133 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
| | |
| | |
int cast_create_missile(object *op, object *caster,object *spell, int dir, const char *stringarg) | | int cast_create_missile(object *op, object *caster,object *spell, int dir, const char *stringarg) |
{ | | { |
int missile_plus=0, bonus_plus=0; | | int missile_plus=0, bonus_plus=0; |
char *missile_name; | | const char *missile_name; |
object *tmp, *missile; | | object *tmp, *missile; |
tag_t tag; | | tag_t tag; |
| | |
| | |
int i,posblocked,negblocked, maxrange; | | int i,posblocked,negblocked, maxrange; |
sint16 x, y; | | sint16 x, y; |
mapstruct *m; | | mapstruct *m; |
char *name; | | const char *name; |
archetype *at; | | archetype *at; |
| | |
if(!dir) { | | if(!dir) { |