remove another fintoken warning from the logs

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

View File

@ -2567,7 +2567,7 @@ static int reshow_cmd(unit * u, struct order *ord)
skip_token();
s = getstrtoken();
if (findparam(s, u->faction->locale) == P_ANY) {
if (isparam(s, u->faction->locale, P_ANY)) {
p = getparam(u->faction->locale);
s = NULL;
}