Author: allthecoolkidshaveone
<allthecoolkidshaveone@
ba372814-4f39-11de-9ad6-
1127a62b9fcd>
Date: Sat Jan 2 00:23:25 2010 +0000
Issue 159: Make possessive get and english matching work together.
Fixes #215
notify_format(player, T("I can't tell which %s."), boxname);
return;
}
- thing = match_result(box, objname, NOTYPE, MAT_POSSESSION);
+ thing = match_result(box, objname, NOTYPE, MAT_POSSESSION | MAT_ENGLISH);
if (thing == NOTHING) {
notify(player, T("I don't see that here."));
return;
*str = obj;
/* we already have a terminating null, so we're okay to just do matches */
- return match_result(player, box, NOTYPE, MAT_NEIGHBOR | MAT_POSSESSION);
+ return match_result(player, box, NOTYPE, MAT_NEIGHBOR | MAT_POSSESSION | MAT_ENGLISH);
}