From 4f589bcc29b615dd5a3a160eac76e5c9b77aa8bb Mon Sep 17 00:00:00 2001 From: Rick L Bird Date: Sat, 14 May 2011 12:30:04 -0400 Subject: [PATCH] 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 --- src/move.c | 2 +- src/predicat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2