From: "David Cole" <tiznor@SOFTHOME.NET> > Everything in handler.c > dealing with affects is stock minus adding in various places for new > bitvetors for AFFTWO, AFFTHREE etc etc. There's your problem. When changing the data type of modifier, you must change the places where it's used directly, like: void affect_modify(struct char_data *ch, byte loc, sbyte mod, bitvector_t bitv, bool add) should be void affect_modify(struct char_data *ch, byte loc, int mod, bitvector_t bitv, bool add) since sbyte has a data range of -127 - 128, you'll predictably get strange results from not changing affect_modify. You'll probably need to cast 'mod' as sh_int throughout most of the function, though. Welcor -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT