forked from github/server
Crashfix PArteiliste
Crashfix Terraform auf undefinierter Region
This commit is contained in:
parent
00a6662043
commit
0320b078e5
|
@ -29,5 +29,6 @@ extern newfaction * newfactions;
|
|||
|
||||
extern void autoseed(struct regionlist * rlist);
|
||||
extern void get_island(struct regionlist ** rlist);
|
||||
extern void mkisland(int nsize);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -707,6 +707,7 @@ ParteiListe(void)
|
|||
{
|
||||
char fno[5];
|
||||
strncpy(fno, pointer->s, 4);
|
||||
fno[4]=0;
|
||||
ModifyPartei(findfaction(atoi36(fno)));
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -854,6 +854,7 @@ movearound(int rx, int ry) {
|
|||
ch = -9; /* nur ein Redraw */
|
||||
break;
|
||||
case 'T':
|
||||
if (r==NULL) break;
|
||||
if (!Tagged) {
|
||||
if (hx>-1) {
|
||||
int Rx,Ry;
|
||||
|
@ -1602,6 +1603,8 @@ main(int argc, char *argv[])
|
|||
|
||||
sprintf(buf, "%s/newfactions.%d", basepath(), turn);
|
||||
read_newfactions(buf);
|
||||
sprintf(buf, "%s/newfactions", basepath());
|
||||
read_newfactions(buf);
|
||||
sprintf(buf, "%s/dropouts.%d", basepath(), turn);
|
||||
read_dropouts(buf);
|
||||
sprintf(buf, "%s/%s", basepath(), orderfile);
|
||||
|
|
Loading…
Reference in New Issue