Added bug-fix to real_shop function (Thanks Slicer), and removed the duplicate (find_shop) function

This commit is contained in:
JamDog
2009-03-14 23:49:13 +00:00
parent 4a4ba0cf0a
commit 15c7e83d3e
3 changed files with 5 additions and 23 deletions

View File

@@ -263,7 +263,7 @@ shop_rnum real_shop(shop_vnum vnum)
if (SHOP_NUM(mid) == vnum)
return (mid);
if (SHOP_NUM(mid) > vnum)
top = mid;
top = mid - 1;
else
bot = mid + 1;
}