From bcb01742ae0a3ee10028ac0e87ad2df42849646e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 19 May 2012 20:00:54 -0700 Subject: [PATCH] remove yet another fintoken warning from the logs --- src/gamecode/laws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamecode/laws.c b/src/gamecode/laws.c index a0b150ab3..f3204ff17 100644 --- a/src/gamecode/laws.c +++ b/src/gamecode/laws.c @@ -3755,7 +3755,7 @@ static int use_cmd(unit * u, struct order *ord) t = getstrtoken(); n = atoi((const char *)t); if (n == 0) { - if (findparam(t, u->faction->locale) == P_ANY) { + if (isparam(t, u->faction->locale, P_ANY)) { /* BENUTZE ALLES Yanxspirit */ n = INT_MAX; t = getstrtoken();