forked from kyonshi/grenzland-mud
Added bug-fix to real_shop function (Thanks Slicer), and removed the duplicate (find_shop) function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user