Weird Exit Text

Posted by Mapleleaf on Tue 11 Oct 2005 11:00 PM — 3 posts, 14,125 views.

Canada #0
I wanted to make it so certain races can't be certain classes, so I followed the instructions on Darkoth's site, which were basically to add the check

if (pc_race_table[ch->race].class_mult[iClass] == 0)
continue;

into the void nanny function of comm.c.

I did this, and it had the desired result of letting me exclude classes for a race by setting that class multiplier to 0.

However, my exits now look like this:

A Room in Mud School
You are in a square white room. The walls are all blank, with no windows.
Light fluoresces off the ceiling in soft white tones. Of course, there is a
sign on the wall. The exits are west and south. A small plaque is on the
wall.

[Exits: Exsouth/Ex Exwest/Ex]
(White Aura) An acolyte of Zump welcomes you to mud school.

I don't see why it would cause this, but I went back and restored the original comm.c, and it worked normally. Can someone help me out here?
USA #1
Something in nanny shouldn't really affect the way exits are displayed. What else did you add?
Canada #2
I'm pretty sure that I never changed anything else, since this was all I was working on today... couldn't find it though, so I just restored the old file and redid the change, and it works now. I must have slipped and typoed something somewhere else and not noticed. Sorry about that!