forked from github/server
remove some more unused defines.
This commit is contained in:
parent
abd9b94d37
commit
643883d539
|
@ -2010,11 +2010,6 @@ void dazzle(battle * b, troop * td)
|
||||||
{
|
{
|
||||||
UNUSED_ARG(b);
|
UNUSED_ARG(b);
|
||||||
/* Nicht kumulativ ! */
|
/* 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)) {
|
if (td->fighter->person[td->index].flags & (FL_COURAGE|FL_DAZZLED)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1600,12 +1600,6 @@ int countheroes(const struct faction *f)
|
||||||
n += u->number;
|
n += u->number;
|
||||||
u = u->nextF;
|
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;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,8 +78,6 @@ char * strlcpy_w(char *dst, const char *src, size_t *siz, const char *err, const
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef HAVE_STRLCAT
|
#ifndef HAVE_STRLCAT
|
||||||
#define HAVE_STRLCAT
|
#define HAVE_STRLCAT
|
||||||
size_t strlcat(char *dst, const char *src, size_t siz)
|
size_t strlcat(char *dst, const char *src, size_t siz)
|
||||||
|
|
Loading…
Reference in New Issue