Couldn't this also be done with the title? The extra space that remains if a
player decides they don't want a title is quite annyoing wouldn't you say?
-----Original Message-----
From: Andrey Fidrya <andrey@ALEX-UA.COM>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Saturday, August 22, 1998 1:02 PM
Subject: Minor bug
>Hi, All!
>
>Currently look_at_char function works differently if you look at char
without
>description who just entered the game and if you look at char without
>description, who just cleared it in editor...
>This happens because of this: if player cleans his description in editor,
>ch->player.description becomes NULL and if you look at him, you will see
"You
>see nothing special about him", but if he saves, quits, then relogins, his
>description will be reallocated to 1 byte containing '\0' and "You see
nothing
>special about him" phrase will not appear.
>Sorry if this is confusing. :(
>How to fix it:
>
>In db.c, store_to_char, add:
>if (*st->description)
>before:
>ch->player.description = str_dup(st->description);
>
> Andrey (andrey@alex-ua.com)
> aka Zmey // RMUD (telnet://rmud.techno.ru:4000)
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
> +------------------------------------------------------------+
+------------------------------------------------------------+
| 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