forked from github/server
- turn wieder raus, passiert schon woanders
This commit is contained in:
parent
4547866348
commit
e8d785c11c
|
@ -187,18 +187,6 @@ typedef struct mapnode {
|
||||||
|
|
||||||
static mapnode * subscriptions[HASHSIZE];
|
static mapnode * subscriptions[HASHSIZE];
|
||||||
|
|
||||||
static const char *
|
|
||||||
dbrace(const struct race * rc)
|
|
||||||
{
|
|
||||||
static char zText[32];
|
|
||||||
char * zPtr = zText;
|
|
||||||
strcpy(zText, LOC(find_locale("en"), rc_name(rc, 0)));
|
|
||||||
while (*zPtr) {
|
|
||||||
*zPtr = (char)toupper(*zPtr);
|
|
||||||
++zPtr;
|
|
||||||
}
|
|
||||||
return zText;
|
|
||||||
}
|
|
||||||
void
|
void
|
||||||
convertunique(faction * f)
|
convertunique(faction * f)
|
||||||
{
|
{
|
||||||
|
@ -1303,10 +1291,12 @@ writegame(char *path, char quiet)
|
||||||
|
|
||||||
/* write_dynamictypes(); */
|
/* write_dynamictypes(); */
|
||||||
|
|
||||||
|
#if 0 /* Already in common/gamecode/report.c, around line 3508 */
|
||||||
/* write turn number to file for use by external scripts */
|
/* write turn number to file for use by external scripts */
|
||||||
F = fopen("turn","w");
|
F = fopen("turn","w");
|
||||||
fprintf(F, "%d", turn);
|
fprintf(F, "%d", turn);
|
||||||
fclose(F);
|
fclose(F);
|
||||||
|
#endif
|
||||||
|
|
||||||
F = cfopen(path, "w");
|
F = cfopen(path, "w");
|
||||||
if (F==NULL)
|
if (F==NULL)
|
||||||
|
|
Loading…
Reference in New Issue