Comment fixes, clarification, and warning cleanup. (thanks Kyle) --Rumble

This commit is contained in:
Rumble
2011-08-25 02:35:28 +00:00
parent 39ed48f03c
commit 6240083445
16 changed files with 37 additions and 51 deletions

View File

@@ -373,7 +373,7 @@ WCMD(do_wpurge)
{
char arg[MAX_INPUT_LENGTH];
char_data *ch, *next_ch;
obj_data *obj, *next_obj;
obj_data *obj = NULL, *next_obj;
one_argument(argument, arg);
@@ -399,7 +399,7 @@ WCMD(do_wpurge)
ch = get_char_in_room(room, arg);
if (!ch) {
if (*arg == UID_CHAR)
if (obj && *arg == UID_CHAR)
obj = get_obj(arg);
else
obj = get_obj_in_room(room, arg);