forked from github/server
Debug-Ausgabe Befehle von Einheiten einlesen
Fix sp_forest_fire
This commit is contained in:
parent
388216d6d3
commit
559fc9087a
2 changed files with 5 additions and 0 deletions
|
@ -470,6 +470,10 @@ unitorders(FILE * F, struct faction * f)
|
||||||
if (u && u->faction == f) {
|
if (u && u->faction == f) {
|
||||||
order ** ordp;
|
order ** ordp;
|
||||||
|
|
||||||
|
if (!quiet) {
|
||||||
|
printf(",_%4s_", itoa36(u->no));
|
||||||
|
fflush(stdout);
|
||||||
|
}
|
||||||
free_orders(&u->orders);
|
free_orders(&u->orders);
|
||||||
u->orders = 0;
|
u->orders = 0;
|
||||||
|
|
||||||
|
|
|
@ -2589,6 +2589,7 @@ sp_forest_fire(castorder *co)
|
||||||
nr = rconnect(r, i);
|
nr = rconnect(r, i);
|
||||||
assert(nr);
|
assert(nr);
|
||||||
destroyed = 0;
|
destroyed = 0;
|
||||||
|
vernichtet_schoesslinge = 0;
|
||||||
|
|
||||||
#if GROWING_TREES
|
#if GROWING_TREES
|
||||||
if(rtrees(nr,2) + rtrees(nr,1) >= 800) {
|
if(rtrees(nr,2) + rtrees(nr,1) >= 800) {
|
||||||
|
|
Loading…
Reference in a new issue