From: dis- Date: Thu, 16 May 2013 11:58:04 +0000 (+0000) Subject: bug fix -- save the time correctly when the tower-quest fails X-Git-Tag: v2.1.3~76 X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=7e65ac90413e08ede4ecc1d1a96fe831d6f6d695 bug fix -- save the time correctly when the tower-quest fails --- diff --git a/src/dungeon.c b/src/dungeon.c index 684531fea..b34acf31a 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -1234,6 +1234,8 @@ void leave_tower_check(void) { quest[QUEST_TOWER1].status = QUEST_STATUS_FAILED; quest[QUEST_TOWER1].complev = (byte)p_ptr->lev; + update_playtime(); + quest[QUEST_TOWER1].comptime = playtime; } } }