diff --git a/src/laws.c b/src/laws.c index d329959cd..2150a65f0 100755 --- a/src/laws.c +++ b/src/laws.c @@ -2586,7 +2586,7 @@ int reshow_cmd(unit * u, struct order *ord) init_order(ord); s = getstrtoken(); - if (isparam(s, u->faction->locale, P_ANY)) { + if (s && isparam(s, u->faction->locale, P_ANY)) { p = getparam(u->faction->locale); s = NULL; }