- Fix mailit:newbie und zip

This commit is contained in:
Christian Schlittchen 2002-01-20 10:00:37 +00:00
parent 81dfda6805
commit e3d3b711ca
2 changed files with 2 additions and 2 deletions

View File

@ -2787,7 +2787,7 @@ reports(void)
if(f->age == 1) {
fprintf(BAT, "ls %s.nr %s.cr | zip -m -j -9 -@ %s.zip\n",
factionid(f), factionid(f), factionid(f));
fprintf(BAT, "zip -j -9 %s.zip ../res/%s/%s/welcome.txt", factionid(f), global.welcomepath, locale_name(f->locale));
fprintf(BAT, "zip -j -9 %s.zip ../res/%s/%s/welcome.txt\n", factionid(f), global.welcomepath, locale_name(f->locale));
} else {
fprintf(BAT, "ls %s.nr %s.cr | zip -m -j -9 -@ %s.zip\n",
factionid(f), factionid(f), factionid(f));

View File

@ -2124,7 +2124,7 @@ writegame(char *path, char quiet)
wnl(F);
write_items(F, u->items);
wnl(F);
assert(u->hp);
if(u->hp = 0) u->hp = 1;
wi(F, u->hp);
wnl(F);
#if RELEASE_VERSION < MAGE_ATTRIB_VERSION