From 3d6c633d6659f6d84b81f4ced08589a4c676d1d8 Mon Sep 17 00:00:00 2001 From: JamDog Date: Sun, 12 Apr 2009 20:53:14 +0000 Subject: [PATCH] Fixed minor bug in do_stat_character when displaying players current quest information --- changelog | 2 ++ src/act.wizard.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index b5012d5..d99d7e1 100644 --- a/changelog +++ b/changelog @@ -34,6 +34,8 @@ OLC copy and delete options. export (QQ's a zone into a tarball)t Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist) (lots of major bugfixes too) +[Apr 12 2009] - Jamdog + Bug-Fix: Stat player displayed current quest information incorrectly - fixed 'if' [Apr 11 2009] - Jamdog Bug-Fix: NPC check added to do_gen_ps function (thanks drefs) Bug-Fix: Fixed crash bug in remove_player where index entry is removed too early (thanks drefs) diff --git a/src/act.wizard.c b/src/act.wizard.c index 90d63ff..04d4c02 100644 --- a/src/act.wizard.c +++ b/src/act.wizard.c @@ -835,7 +835,7 @@ static void do_stat_character(struct char_data *ch, struct char_data *k) send_to_char(ch, "Quest Points: [%9d] Quests Completed: [%5d]\r\n", GET_QUESTPOINTS(k), GET_NUM_QUESTS(k)); - if (GET_QUEST(ch) != NOTHING) + if (GET_QUEST(k) != NOTHING) send_to_char(ch, "Current Quest: [%5d] Time Left: [%5d]\r\n", GET_QUEST(k), GET_QUEST_TIME(k)); }