version 1.140 | | version 1.141 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.140 2005/10/03 03:29:41 cavesomething Exp $"; | | * "$Id: apply.c,v 1.141 2005/10/06 23:36:20 akirschbaum Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
weapon->name,weapon->level); | | weapon->name,weapon->level); |
| | |
sprintf(buf,"%s's %s",op->name,weapon->name); | | sprintf(buf,"%s's %s",op->name,weapon->name); |
free_string(weapon->name); | | |
FREE_AND_COPY(weapon->name, buf); | | FREE_AND_COPY(weapon->name, buf); |
FREE_AND_COPY(weapon->name_pl, buf); | | FREE_AND_COPY(weapon->name_pl, buf); |
weapon->nrof=0; /* prevents preparing n weapons in the same | | weapon->nrof=0; /* prevents preparing n weapons in the same |