Re: add a new field in the playerfile... for dividing the exp

From: Mendou (nikolai@MONTANA.COM)
Date: 03/15/98


On Sun, 15 Mar 1998, David Wiklund wrote:

-->I have found where you define the GET_EXP and such and also changed the gain_exp to work with
-->some sort of GET_EXP_GAIN. Like this...
-->
-->#define GET_EXP_GAIN(ch)  ((ch)->points.exp_gain)
-->
-->But when I compile with all changes it say's structure has no member named exp_gain.
-->But only in limits.c (where I fixed gain_exp) and act.wizard.c (changed the stat-command)
Well, did you add a member called exp_gain to the char_point_data struct?
(char_point_data is located in structs.h)

-->It doesn't complain about the define GET_EXP_GAIN in utils.h ...
That's because the compiler adds .h files to .c files, therefor, it
would only complain in the .c files that utils.h is #include'd in.
Ie: limits.c and act.wizard.c


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