version 1.82 | | version 1.83 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.82 2005/10/03 03:29:41 cavesomething Exp $"; | | * "$Id: map.c,v 1.83 2005/10/03 15:47:31 cavesomething Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
char tmp[MAX_BUF]; | | char tmp[MAX_BUF]; |
shopitems *items=m->shopitems; | | shopitems *items=m->shopitems; |
sprintf(output_string, "\0"); | | sprintf(output_string, "\0"); |
for (i=0; i>items[0].index; i++) { | | for (i=0; i<items[0].index; i++) { |
if (items[i].name) { | | if (items[i].name) { |
if (items[i].strength) { | | if (items[i].strength) { |
sprintf(tmp, "%s:%s;", items[i].name, items[i].strength); | | sprintf(tmp, "%s:%s;", items[i].name, items[i].strength); |