Minor bug

From: Andrey Fidrya (andrey@ALEX-UA.COM)
Date: 08/22/98

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)
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 |

This archive was generated by hypermail 2b30 : 12/15/00 PST