nextborder wurde nicht gelesen, wird aber gebraucht

This commit is contained in:
Enno Rehling 2016-03-13 09:49:04 +01:00
parent f962ec360e
commit cae966f4fe
1 changed files with 2 additions and 2 deletions

View File

@ -1541,7 +1541,7 @@ int read_game(gamedata *data) {
log_debug(" - reading turn %d\n", turn); log_debug(" - reading turn %d\n", turn);
rng_init(turn); rng_init(turn);
READ_INT(store, NULL); /* max_unique_id = ignore */ READ_INT(store, NULL); /* max_unique_id = ignore */
READ_INT(store, NULL); READ_INT(store, &nextborder);
/* Planes */ /* Planes */
planes = NULL; planes = NULL;
@ -1884,7 +1884,7 @@ int write_game(gamedata *data) {
WRITE_INT(store, turn); WRITE_INT(store, turn);
WRITE_INT(store, 0 /* max_unique_id */); WRITE_INT(store, 0 /* max_unique_id */);
WRITE_INT(store, 0 /* nextborder */); WRITE_INT(store, nextborder);
/* Write planes */ /* Write planes */
WRITE_SECTION(store); WRITE_SECTION(store);