Time function dilema

From: Christian Duvall (chris@DP.NET)
Date: 07/24/97


I looked through the code for login times etc, and I decided to make a
last time you saved code, for the score screen. Here is what I did.
in player_specials, I added time_t last_saved;
In do_save I assigned it:
ch->player_specials->last_saved = time(0);    /* Is this right? */
then I added it to score...
Well, everytime I save, it changes the value of last_login.
Can anyone tell me why, or how I might correct this. Thank you.
Christian Duvall
chris@dp.net


     +------------------------------------------------------------+
     | 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/08/00 PST