forked from github/server
- Fix mailit:newbie und zip
This commit is contained in:
parent
81dfda6805
commit
e3d3b711ca
|
@ -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));
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue