Lines 5936-5942
Link Here
|
5936 |
char *filename=parseString("filename to which to save units",s); |
5936 |
char *filename=parseString("filename to which to save units",s); |
5937 |
FILE *fp=fopen(filename,"w"); |
5937 |
FILE *fp=fopen(filename,"w"); |
5938 |
if(fp==NULL) |
5938 |
if(fp==NULL) |
5939 |
throw tString("File not found: '%s'",filename); |
5939 |
throw tString("File not found: '")+filename+"'"; |
5940 |
|
5940 |
|
5941 |
for(i=0;i<units.size();i++) |
5941 |
for(i=0;i<units.size();i++) |
5942 |
{ |
5942 |
{ |