Fixed wpurge

This commit is contained in:
Rumble 2013-05-16 12:21:48 -03:00
parent 729bbc5e9e
commit 27e0dd7da9

View file

@ -399,7 +399,7 @@ WCMD(do_wpurge)
ch = get_char_in_room(room, arg);
if (!ch) {
if (obj && *arg == UID_CHAR)
if (*arg == UID_CHAR)
obj = get_obj(arg);
else
obj = get_obj_in_room(room, arg);