Fixed minor bug in do_stat_character when displaying players current quest information

This commit is contained in:
JamDog 2009-04-12 20:53:14 +00:00
parent 0bde43f70b
commit 3d6c633d66
2 changed files with 3 additions and 1 deletions

View file

@ -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)

View file

@ -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));
}