remove yet another fintoken warning from the logs

This commit is contained in:
Enno Rehling 2012-05-19 20:00:54 -07:00
parent cc9a815eea
commit bcb01742ae
1 changed files with 1 additions and 1 deletions

View File

@ -3755,7 +3755,7 @@ static int use_cmd(unit * u, struct order *ord)
t = getstrtoken(); t = getstrtoken();
n = atoi((const char *)t); n = atoi((const char *)t);
if (n == 0) { if (n == 0) {
if (findparam(t, u->faction->locale) == P_ANY) { if (isparam(t, u->faction->locale, P_ANY)) {
/* BENUTZE ALLES Yanxspirit */ /* BENUTZE ALLES Yanxspirit */
n = INT_MAX; n = INT_MAX;
t = getstrtoken(); t = getstrtoken();