It's basically for switched players. When you switch, it attaches your descriptor to the mob's char_data. It saves a pointer to your char_data in d->original so it can attach it back when you return. --palrich.
----- Original Message ----- From: "Scott Snyder" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, August 28, 2003 3:37 AM Subject: Descriptor Question > I have seen this in multiple places for a long time, but I never have > quite been able to figure out what it is for. If anyone has an > enlightening explaination, I'd be very appreciative. > > d->original ? d->original : d->character; > > I know it is a tertiary operator looking at a char_data struct, I'm just > not sure why it is checking to see if the "original" is valid. When > searching through the code, I've never found a spot where d->original > gets changed. Like I said, any insight is appreciated. > > Scott. > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom

