Bugfix for generic_find()

From: Webmaster (anderson@nol.net)
Date: 03/20/96

This fix ONLY applies to CircleMUD 3.0bpl10 or equivalents

my users pointed out to me they could no longer look in containers, I
narrowed it down to only happening when they were equipped.

generic_find was returning the pointer to the first equipped object
regardless of it's name or container status.

the fix lies in handler.c, in the generic_find() function at the bottom of
the file in the FIND_OBJ_EQUIP part of the check.

the line that reads

if ( GET_EQ(ch, i) && isname(name, GET_EQ(ch, i)->name) == 0 )

should have the 0 exchanged for a 1 to read

if ( GET_EQ(ch, i) && isname(name, GET_EQ(ch, i)->name) == 1 )

not life-threatening, but annoying.

James Anderson

*IMP of CokeMUD @ pinternet.com 4000

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