--- deliantra/server/common/arch.C 2007/02/08 03:09:31 1.41 +++ deliantra/server/common/arch.C 2007/02/09 01:52:10 1.42 @@ -438,6 +438,7 @@ { if (*buf == '#') continue; + if ((argument = strchr (buf, ' ')) != NULL) { *argument = '\0', argument++; @@ -448,6 +449,7 @@ cp--; } } + if (!strcmp ("object", variable)) { if ((at = archetype::find (argument)) == NULL) @@ -465,7 +467,7 @@ } else if (!strcmp ("randomitems", variable)) { - if (at != NULL) + if (at) { treasurelist *tl = find_treasurelist (argument);