From 559fc9087a849658e04e67c7d964b3bc26ff7fd2 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 3 Oct 2004 12:18:39 +0000 Subject: [PATCH] Debug-Ausgabe Befehle von Einheiten einlesen Fix sp_forest_fire --- src/common/kernel/save.c | 4 ++++ src/common/kernel/spell.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/common/kernel/save.c b/src/common/kernel/save.c index d4cba7f43..4d0c88517 100644 --- a/src/common/kernel/save.c +++ b/src/common/kernel/save.c @@ -470,6 +470,10 @@ unitorders(FILE * F, struct faction * f) if (u && u->faction == f) { order ** ordp; + if (!quiet) { + printf(",_%4s_", itoa36(u->no)); + fflush(stdout); + } free_orders(&u->orders); u->orders = 0; diff --git a/src/common/kernel/spell.c b/src/common/kernel/spell.c index cc07af062..79f113847 100644 --- a/src/common/kernel/spell.c +++ b/src/common/kernel/spell.c @@ -2589,6 +2589,7 @@ sp_forest_fire(castorder *co) nr = rconnect(r, i); assert(nr); destroyed = 0; + vernichtet_schoesslinge = 0; #if GROWING_TREES if(rtrees(nr,2) + rtrees(nr,1) >= 800) {