[OLD CODE] Bugfixes

From: Brandon Allen (crio49@HOTMAIL.COM)
Date: 02/19/03


i am going through the whole archive updateing code to 3.1
and i ran into this little one
 ---SNIP ---
the experience problem reguards to mortals been able to imm simply
but gaining enough exp.
in limits.c

find the following line in void gain_exp
if (!IS_NPC(ch) && ((GET_LEVEL(ch) < 1 || GET_LEVEL(ch) >= LVL_IMMORT)))

change to

if (!IS_NPC(ch) && ((GET_LEVEL(ch) < 1 || GET_LEVEL(ch) >= LVL_IMMORT-1)))

Doing this will stop people from gaining anymore exp after reaching the
highest mortal level on your mud. You will still notice it says you gain
blah exp but it won't be added.
--- SNIP ---

now i am not a circle expert but shouldnt

int immort_level_ok = 0;
to
int immort_level_ok = 1;

make this stop ?

basicly makeing this snipit useless ?

--
   +---------------------------------------------------------------+
   | 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/26/03 PDT