[CODE] Locate Object fix

From: MUD Imps (mudimps@hotmail.com)
Date: 06/25/99

Here's a quick fix for the small problem with locate object, whereby it
locates more objects than those containing the original keyword.
In spells.c in spell_locate_object, simply replace:
strcpy(name, fname(obj->name));
strcpy(name, arg);
arg would be the originally used keyword so locate object will only locate
objects with that keyword, rather than using all of the keywords of the
first object it finds. It'd still be parsed correctly, so an invalid target
would still be caught. If anyone finds a problem, let us know.

Andrew Martin

Get Free Email and Do More On The Web. Visit http://www.msn.com

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |

This archive was generated by hypermail 2b30 : 12/15/00 PST