Auction v2.0 Bugfix

From: Akuma/Chris Baggett/DOOMer (doomer@BAYOU.COM)
Date: 12/28/97


ok, there's a SMALL bug that will cause a crash
in the Auction v2.0 Project that george has.

basically in do_bid
if someone types
BID and there isn't anything to bid on, it'll crash.

just gotta put in a small check before you start playing with it.

if (!auction_list) // or something like that
  { complain about no items to bid on; return; }

Akuma the Raging Coder

  +------------------------------------------------------------+
  | "The poets talk about love, but what I talk about is DOOM, |
  |      because in the end, DOOM is all that counts." -       |
  |   Alex Machine/George Stark/Stephen King, The Dark Half    |
  |        "Nothing is IMPOSSIBLE, Just IMPROBABLE"            |
  |   "Easier Said Than Done, But Better Done Than Said..."    |
  +------------------------------------------------------------+


     +------------------------------------------------------------+
     | 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/08/00 PST