2 bugs

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


Hi, All!

2 more bugs:
Skill steal works everywhere, even in peaceful rooms... Solution: I made new
function "room_can_fight(ch, vict)" and copied a check for peaceful rooms
from damage() to it.
Then I added room_can_fight() check to do_bash and do_steal.

Second one:

  if (IS_SET(ROOM_FLAGS(EXIT(ch, dir)->to_room), ROOM_TUNNEL) &&
      num_pc_in_room(&(world[EXIT(ch, dir)->to_room])) > 1) {
    send_to_char("There isn't enough room there for more than one
person!\r\n",
    return 0;
  }

I think it should be ">= 1", right?

  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