From 07cd06dcb9f8948eed71b1a72a6488536278b73c Mon Sep 17 00:00:00 2001 From: Fizban Date: Thu, 15 Jan 2009 21:40:53 +0000 Subject: [PATCH] Fixed the previous commit --- changelog | 6 ++++-- src/genmob.c | 7 +------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/changelog b/changelog index 77f36d6..7626d9b 100644 --- a/changelog +++ b/changelog @@ -34,6 +34,9 @@ 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) +[Jan 09 2009] - Fizban + Fixed a bug in do_rescue allowing players to get twice as many attacks per round. (thanks Zordrac) + Fixed Bug Where Questmaster rnums didn't previously update. (thanks Tails) [Dec 28 2008] - Rumble Added a "Syntax: export zone vnum" for the export command instead of defaulting to 0. (thanks Vatiken) Fixed bad usage of num_of_saving_throws and moved define to structs.h. (thanks Vatiken) @@ -51,8 +54,7 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist) [Oct 21 2008] - Rumble Fixed display of wear locations and a typo. (thanks Kyle) [Oct 09 2008] - Rumble - Fixed a small bug in hedit. If CIRCLE_UNSIGNED_INDEX is 0, then new entries wo -n't save correctly. (thanks Rhade) + Fixed a small bug in hedit. If CIRCLE_UNSIGNED_INDEX is 0, then new entries won't save correctly. (thanks Rhade) Code cleanup of check_idling. (thanks Rhade) [Sep 01 2008] - Fizban Added a check to mzoneecho to stop mortals from using it. diff --git a/src/genmob.c b/src/genmob.c index 65d2b3a..066f873 100644 --- a/src/genmob.c +++ b/src/genmob.c @@ -16,14 +16,13 @@ #include "genmob.h" #include "genzon.h" #include "dg_olc.h" -#include "quest.h" /* local functions */ static void extract_mobile_all(mob_vnum vnum); int add_mobile(struct char_data *mob, mob_vnum vnum) { - int rnum, i, found = FALSE, shop, cmd_no, qnum; + int rnum, i, found = FALSE, shop, cmd_no; zone_rnum zone; struct char_data *live_mob; @@ -86,10 +85,6 @@ int add_mobile(struct char_data *mob, mob_vnum vnum) for (shop = 0; shop <= top_shop; shop++) SHOP_KEEPER(shop) += (SHOP_KEEPER(shop) != NOTHING && SHOP_KEEPER(shop) >= found); - /* Update quest masters */ - for (qnum = 0; qnum < total_quests; qnum++) - QST_MASTER(qnum) += (real_mobile(QST_MASTER(qnum)) >= found); - add_to_save_list(zone_table[real_zone_by_thing(vnum)].number, SL_MOB); return found; }