***************
*** 1190,1199 ****
*/
if (m->difficulty) fprintf(fp,"difficulty %d\n", m->difficulty);
if (m->region) fprintf(fp,"region %s\n", m->region->name);
! if (m->shopgreed) {
print_shop_string(m, shop);
fprintf(fp,"shopitems %s\n", shop);
}
if (m->shopmin) fprintf(fp,"shopgreed %d\n", m->shopmin);
if (m->shopmax) fprintf(fp,"shopgreed %d\n", m->shopmax);
if (m->shoprace) fprintf(fp,"shoprace %s\n", m->shoprace);
--- 1190,1200 ----
*/
if (m->difficulty) fprintf(fp,"difficulty %d\n", m->difficulty);
if (m->region) fprintf(fp,"region %s\n", m->region->name);
! if (m->shopitems) {
print_shop_string(m, shop);
fprintf(fp,"shopitems %s\n", shop);
}
+ if (m->shopgreed) fprintf(fp,"shopgreed %f\n", m->shopgreed);
if (m->shopmin) fprintf(fp,"shopgreed %d\n", m->shopmin);
if (m->shopmax) fprintf(fp,"shopgreed %d\n", m->shopmax);
Is that code there really correct? It seems you are saving shopgreed as the
field name when you are actually saving shopmin and shopmax.
_______________________________________________
crossfire mailing list
[email protected]
http://mailman.metalforge.org/mailman/listinfo/crossfire