George Greer wrote: > > On Tue, 20 Jun 2000, Del wrote: > > > I assume you mean for the 'default' character struct, that gets set up > during the login process, you set the color? Otherwise I don't see how > you're querying a NULL pointer... > GET_HIT(ch) = GET_MAX_HIT(ch); GET_MANA(ch) = GET_MAX_MANA(ch); GET_MOVE(ch) = GET_MAX_MOVE(ch); GET_COND(ch, THIRST) = 24; GET_COND(ch, FULL) = 24; GET_COND(ch, DRUNK) = 0; ch->player.time.played = 0; ch->player.time.logon = time(0); ch->player_specials->saved.pc_attacks = 1; SET_BIT(PRF_FLAGS(ch), PRF_DISPHP); SET_BIT(PRF_FLAGS(ch), PRF_DISPMANA); SET_BIT(PRF_FLAGS(ch), PRF_DISPMOVE); SET_BIT(PRF_FLAGS(ch), PRF_AUTOEXIT); SET_BIT(PRF_FLAGS(ch), PRF_COLOR_1); SET_BIT(PRF_FLAGS(ch), PRF_COLOR_2); SET_BIT(PRF_FLAGS(ch), PRF_AUTODIAG); +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT