[CODE] tiny bug in Circle bpl 13

From: Andrey Fidrya (andrey@ALEX-UA.COM)
Date: 03/18/98


Reported by players:
you must have money for at least 1 day of rent at hands or you will be unable
to rent out, even if you have enough money in bank.

I think this line (in crash_offer_rent and gen_receptionist):
  if (totalcost > GET_GOLD(ch)) {
Must be replaced with:
  if (totalcost > GET_GOLD(ch) + GET_BANK_GOLD(ch)) {
because in other places (rented players entering game) we use checks like:
  if (cost > GET_GOLD(ch) + GET_BANK_GOLD(ch)) {

  Andrey (andrey@alex-ua.com)
    aka Zmey//RMUD


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST