Fixed the previous commit

This commit is contained in:
Fizban 2009-01-15 21:40:53 +00:00
parent c0c1b00235
commit 07cd06dcb9
2 changed files with 5 additions and 8 deletions

View file

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

View file

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