diff --git a/src/battle.c b/src/battle.c index 721b7bf5d..a58b0ab63 100644 --- a/src/battle.c +++ b/src/battle.c @@ -2010,11 +2010,6 @@ void dazzle(battle * b, troop * td) { UNUSED_ARG(b); /* Nicht kumulativ ! */ -#ifdef TODO_RUNESWORD - if (td->fighter->weapon[WP_RUNESWORD].count > td->index) { - return; - } -#endif if (td->fighter->person[td->index].flags & (FL_COURAGE|FL_DAZZLED)) { return; } diff --git a/src/kernel/unit.c b/src/kernel/unit.c index bc776befa..ee4da958c 100644 --- a/src/kernel/unit.c +++ b/src/kernel/unit.c @@ -1600,12 +1600,6 @@ int countheroes(const struct faction *f) n += u->number; u = u->nextF; } -#ifdef DEBUG_MAXHEROES - int m = maxheroes(f); - if (n > m) { - log_warning("%s has %d of %d heroes\n", factionname(f), n, m); - } -#endif return n; } diff --git a/src/util/bsdstring.c b/src/util/bsdstring.c index 0f3d49801..4aa779495 100644 --- a/src/util/bsdstring.c +++ b/src/util/bsdstring.c @@ -78,8 +78,6 @@ char * strlcpy_w(char *dst, const char *src, size_t *siz, const char *err, const return buf; } - - #ifndef HAVE_STRLCAT #define HAVE_STRLCAT size_t strlcat(char *dst, const char *src, size_t siz)