Debug-Ausgabe Befehle von Einheiten einlesen

Fix sp_forest_fire
This commit is contained in:
Enno Rehling 2004-10-03 12:18:39 +00:00
parent 388216d6d3
commit 559fc9087a
2 changed files with 5 additions and 0 deletions

View file

@ -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;

View file

@ -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) {