forked from github/server
version 3.2
remove regatta plane, it crashes all of a sudden. why is there a use of init_order here? that is a future feature.
This commit is contained in:
parent
2246ce9d7a
commit
ae6e161f96
|
@ -1571,8 +1571,10 @@ int readgame(const char *filename, int backup)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a_read(&store, &pl->attribs, pl);
|
a_read(&store, &pl->attribs, pl);
|
||||||
|
if (pl->id != 1094969858) { // Regatta
|
||||||
addlist(&planes, pl);
|
addlist(&planes, pl);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Read factions */
|
/* Read factions */
|
||||||
if (gdata.version >= ALLIANCES_VERSION) {
|
if (gdata.version >= ALLIANCES_VERSION) {
|
||||||
|
|
|
@ -3944,7 +3944,8 @@ void defaultorders(void)
|
||||||
char lbuf[8192];
|
char lbuf[8192];
|
||||||
order *new_order = 0;
|
order *new_order = 0;
|
||||||
const char *s;
|
const char *s;
|
||||||
init_order(ord);
|
init_tokens(ord);
|
||||||
|
skip_token();
|
||||||
s = getstrtoken();
|
s = getstrtoken();
|
||||||
if (s) {
|
if (s) {
|
||||||
strcpy(lbuf, s);
|
strcpy(lbuf, s);
|
||||||
|
|
Loading…
Reference in New Issue