Re: [CODE] Setting alignment upon start

From: flawed (flawed@io.com)
Date: 03/17/01


On Sat, 17 Mar 2001, Edward Felch wrote:

> Check in db.c and make sure alignment isnt being set to 0 when the function
> init_char goes off

Alignment doesnt show up anywhere in init_char. It shows in db.c, but
doesnt show it being set to 0.

All references to alignment in db.c:
  GET_ALIGNMENT(mob_proto + i) = t[2];

    GET_ALIGNMENT(ch) = PFDEF_ALIGNMENT;

       GET_ALIGNMENT(ch) = num; (Im thinking its this, but not sure)

    if(GET_ALIGNMENT(ch) != PFDEF_ALIGNMENT)
      fbprintf(fl, "Alin: %d\n", GET_ALIGNMENT(ch));

--
   +---------------------------------------------------------------+
   | 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/04/01 PST