diff --git a/hugo/heparse.c b/hugo/heparse.c index 6f08e55..96e9221 100644 --- a/hugo/heparse.c +++ b/hugo/heparse.c @@ -1087,7 +1087,12 @@ int MatchObject(int *wordnum) /* definitely not this object */ else + { SubtractPossibleObject(i); + /* clear bestobj if i is the current best object */ + if (i == bestobj) + bestobj = 0; + } }