[CODE] look_in_room prob

From: Thomas Smith (ibedemigod@HOTMAIL.COM)
Date: 04/28/98


Hello All,

I have easy color2.2 installed and added color into my room descripts.
After adding in the color into the if pref roomflags i got this:

[1245] DemiGods Room [ INDOORS ]DemiGods Room

As you can see its doubling up on the Room name for some odd reason.  I
even took out the color and put it back the way it was but its still
doing it.

Heres the code from look_at_room:

--snip--

void look_at_room(struct char_data * ch, int ignore_brief)
{
  if (!ch->desc)
    return;

  if (IS_DARK(ch->in_room) && !CAN_SEE_IN_DARK(ch)) {
    send_to_char("It is pitch black...\r\n", ch);
    return;
  } else if (IS_AFFECTED(ch, AFF_BLIND)) {
    send_to_char("You see nothing but infinite darkness...\r\n", ch);
    return;
  }
  send_to_char(CCCYN(ch, C_NRM), ch);
  if (PRF_FLAGGED(ch, PRF_ROOMFLAGS)) {
    sprintbit((long) ROOM_FLAGS(ch->in_room), room_bits, buf);
    sprintf(buf2, "[%5d] &b%s&G [ %s]", world[ch->in_room].number,
            world[ch->in_room].name, buf);
    send_to_char(buf2, ch);

--snip--

This has the added color tags in it, but thats all ive added.  Right now
there not even there.

Hopefuly this isnt one of my "Geez i need to sleep" errors.  Any help,
gentle push in the right direction or a punch in the face would help(=

Thanx

-=DemiGod=-
"When life and death are one, then immortality we shall reach."

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | 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