Re: [code] ascii pfiles and char creation

From: Anton Graham (darkimage@bigfoot.com)
Date: 04/23/01


Mark Setzer scrawled the following:
> in db.c, the snippets from save_char and load_char:
> (save_char)
>     if(GET_RACE(ch))
>       fbprintf(fl, "Race: %s\n", GET_RACE(ch));

Based on your gdb output and the fact that you're looking for race to be a
number in the pfile, I think you would want that last line to read:

fbprintf(fl, "Race: %d\n", GET_RACE(ch));

--
Anton Graham aka Dionysus                     Implementor of Etruria
                                              bladehawke.darktech.org:4000
Death is only the beginning....               -- Not Open to the Public --

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST