From c8240a80a75ef7d0bc8d3a6b948aee28f8e08f93 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 21 Feb 2004 23:40:06 +0000 Subject: [PATCH] wormhole: - ageing happens too early, and happens twice! - set the size of the wormhole on creation --- src/common/kernel/save.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/kernel/save.c b/src/common/kernel/save.c index 734684ae1..02ff40854 100644 --- a/src/common/kernel/save.c +++ b/src/common/kernel/save.c @@ -1165,6 +1165,7 @@ readgame(const char * filename, int backup) for (r=regions;r;r=r->next) { building ** bp; #if 0 + /* what is this doing here? ageing happens at the end of the turn. goddamn it. */ unit ** up; ship ** sp; @@ -1184,7 +1185,6 @@ readgame(const char * filename, int backup) if (s==*sp) handle_event(&s->attribs, "create", s); if (s==*sp) sp = &(*sp)->next; } -#endif /* Gebäude */ for (bp=&r->buildings;*bp;) { building * b = *bp; @@ -1192,6 +1192,7 @@ readgame(const char * filename, int backup) if (b==*bp) handle_event(&b->attribs, "create", b); if (b==*bp) bp = &(*bp)->next; } +#endif } return 0;