Bugfix Küsten

This commit is contained in:
Enno Rehling 2002-02-03 13:53:01 +00:00
parent 427cc7f116
commit 52c0b9fbde
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ tagbegin(struct xml_stack * stack)
if (tname!=NULL) {
if (st->coast) {
terrain_t * tnew;
for (;st->coast[size++];);
for (;st->coast[size++]!=NOTERRAIN;);
tnew = malloc(sizeof(terrain_t) * (size+2));
memcpy(tnew, st->coast, size*sizeof(terrain_t));
free(st->coast);