Re: [NEWBIE] bpl12 init_char

From: Mark Gerritsen (m.p.h.gerritsen@STUDENT.UTWENTE.NL)
Date: 09/24/98


Hiya again,

I really appreciate the info, Sean, but how do you explain this?

  for (i = 1; i <= MAX_SKILLS; i++) {
    if (GET_LEVEL(ch) < LVL_IMPL)
      SET_SKILL(ch, i, 0)           <---- No semi-colon!
    else
      SET_SKILL(ch, i, 100);        <---- YES semi-colon!
  }

Not that this is really important, I got it to work, but why is it that
the second (and every other SET_SKILL in the code, I checked grep) -does-
have the semi-colon, and only this one instance in db.c doesn't?

Havoc of Dagmarck (Mark Gerritsen)


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