Re: A little help please

From: Daniel A. Koepke (dkoepke@california.com)
Date: 07/25/00


On Tue, 25 Jul 2000, Mac Manson wrote:

>    if ((r_mortal_start_room[count] = real_room(r_mortal_start_room[count]))
> < 0) {

Uhm, why are doing real_room() on r_mortal_start_room?  I don't know if
you've changed how things work in this regard, but in stock Circle
mortal_start_room has the vnum, r_mortal_start_room gets assigned the
rnum.

  r_mortal_start_room[count] = real_room(mortal_start_room[count];

  if (r_mortal_start_room[count] == NOWHERE) {
    if (count >= 1)
      r_mortal_start_room[count] = r_mortal_start_room[0];
    else {
      log("SYSERR:  Mortal start room does not exist.  Change in "
          "config.c.");
      exit(1);
    }
  }

>   if ((r_immort_start_room = real_room(immort_start_room)) < 0) {
>     if (!mini_mud)
>       log("SYSERR:  Warning: Immort start room does not exist.  Change in
> config.c.");
>     r_immort_start_room = r_mortal_start_room[1];
>   }

Ooops!  These should all compare against NOWHERE, not 0.  I'll fix that
for bpl18.

-dak


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT