From: Rick L Bird Date: Sat, 14 May 2011 16:30:04 +0000 (-0400) Subject: PennMUSH 1.8.3p12 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=4f589bcc29b615dd5a3a160eac76e5c9b77aa8bb;p=cobramush.git PennMUSH 1.8.3p12 Author: allthecoolkidshaveone Date: Sat Jan 2 00:23:25 2010 +0000 Issue 159: Make possessive get and english matching work together. Fixes #215 --- diff --git a/src/move.c b/src/move.c index d6f2479..9cb0c48 100644 --- a/src/move.c +++ b/src/move.c @@ -555,7 +555,7 @@ do_get(dbref player, const char *what) 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; diff --git a/src/predicat.c b/src/predicat.c index 02e4efe..fae1c36 100644 --- a/src/predicat.c +++ b/src/predicat.c @@ -1131,7 +1131,7 @@ parse_match_possessor(dbref player, char **str) *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); }