No, it is prefectly safe.
bool check_reconnect( DESCRIPTOR_DATA *d, char *name, bool fConn )
{
CHAR_DATA *ch;
for ( ch = char_list; ch != NULL; ch = ch->next )
{
if ( !IS_NPC(ch)
&& (!fConn || ch->desc == NULL)
&& !str_cmp( d->character->name, ch->name ) )
{
If you will notice the ch->desc == NULL check....
Ammaross Danan
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris
"Winston" Litchfield
Sent: Saturday, September 07, 2002 12:35 PM
To: [email protected]
Subject: Bug: Possible or not?
Well, I am not sure cause my head is slow today.
in check_reconnect() where it places the OLD character to the new
DESCRIPTOR. It just does a simple
ch->desc = d.
but, was there not already a descriptor? What happens to it? is it
gone? leaked? etc??
Winston
--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom