Today, Peter Ajamian spake to the list:
> Ceartainly there are several places where it frees memory, then sets
> the pointer to null, but where does it then turn around and base an if
> statement on the value of the pointer which was just set to null as in
> the following line from above...?
Well, back in nanny() again, you see:
if (d->character == NULL) {
CREATE(d->character, struct char_data, 1);
clear_char(d->character);
...
}
in CON_GET_NAME. Also,
if (d->character->player.description) {
SEND_TO_Q("Old description:\r\n", d);
...
}
in case '2' of CON_MENU. Also, as George noted, there's an instance in
Valid_Name(). Are you sure you really looked?! I wasn't hallucinating or
making up stuff.
-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 : 12/15/00 PST