diff --git a/src/laws.c b/src/laws.c index 6010d0e33..2d04606dd 100755 --- a/src/laws.c +++ b/src/laws.c @@ -3796,7 +3796,7 @@ int use_cmd(unit * u, struct order *ord) /* BENUTZE 42 Yanxspirit */ t = getstrtoken(); } - itype = finditemtype(t, u->faction->locale); + itype = t ? finditemtype(t, u->faction->locale) : NULL; if (itype != NULL) { err = use_item(u, itype, n, ord);