Drop ancient #ifdef DEBUG cruft

A few are left in src/lib/as/.
This commit is contained in:
Markus Armbruster 2010-05-23 18:30:10 +02:00
parent 531bac70a4
commit 7d1c358e23
3 changed files with 0 additions and 12 deletions

View file

@ -107,9 +107,6 @@ update_main(void)
if (!(np = getnatp(i)))
continue;
if (np->nat_stat == STAT_SANCT) {
#ifdef DEBUG
logerror("Country %i is in sanctuary and did not update", i);
#endif
continue;
}
np->nat_money += (int)(np->nat_reserve * money_res * etu);

View file

@ -80,11 +80,6 @@ prepare_sects(int etu, struct bp *bp)
bp_set_from_sect(bp, sp);
np = getnatp(sp->sct_own);
#ifdef DEBUG
if (np->nat_stat == STAT_SANCT)
logerror("Prepare.c: country in sanctuary skipped production");
#endif /* DEBUG */
if (np->nat_stat != STAT_SANCT) {
guerrilla(sp);
do_plague(sp, np, etu);

View file

@ -91,10 +91,6 @@ revolt(struct sctstr *sp)
sp->sct_item[I_CIVIL] = civ;
if (che_uw > 0)
sp->sct_item[I_UW] = uw;
#ifdef DEBUG
logerror("(#%d) %d che fired up in %s",
sp->sct_own, che, ownxy(sp));
#endif
}
}