Fixed the previous commit
This commit is contained in:
@@ -34,6 +34,9 @@ OLC copy and delete options.
|
|||||||
export (QQ's a zone into a tarball)t
|
export (QQ's a zone into a tarball)t
|
||||||
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
||||||
(lots of major bugfixes too)
|
(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
|
[Dec 28 2008] - Rumble
|
||||||
Added a "Syntax: export zone vnum" for the export command instead of defaulting to 0. (thanks Vatiken)
|
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)
|
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
|
[Oct 21 2008] - Rumble
|
||||||
Fixed display of wear locations and a typo. (thanks Kyle)
|
Fixed display of wear locations and a typo. (thanks Kyle)
|
||||||
[Oct 09 2008] - Rumble
|
[Oct 09 2008] - Rumble
|
||||||
Fixed a small bug in hedit. If CIRCLE_UNSIGNED_INDEX is 0, then new entries wo
|
Fixed a small bug in hedit. If CIRCLE_UNSIGNED_INDEX is 0, then new entries won't save correctly. (thanks Rhade)
|
||||||
n't save correctly. (thanks Rhade)
|
|
||||||
Code cleanup of check_idling. (thanks Rhade)
|
Code cleanup of check_idling. (thanks Rhade)
|
||||||
[Sep 01 2008] - Fizban
|
[Sep 01 2008] - Fizban
|
||||||
Added a check to mzoneecho to stop mortals from using it.
|
Added a check to mzoneecho to stop mortals from using it.
|
||||||
|
|||||||
@@ -16,14 +16,13 @@
|
|||||||
#include "genmob.h"
|
#include "genmob.h"
|
||||||
#include "genzon.h"
|
#include "genzon.h"
|
||||||
#include "dg_olc.h"
|
#include "dg_olc.h"
|
||||||
#include "quest.h"
|
|
||||||
|
|
||||||
/* local functions */
|
/* local functions */
|
||||||
static void extract_mobile_all(mob_vnum vnum);
|
static void extract_mobile_all(mob_vnum vnum);
|
||||||
|
|
||||||
int add_mobile(struct char_data *mob, 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;
|
zone_rnum zone;
|
||||||
struct char_data *live_mob;
|
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++)
|
for (shop = 0; shop <= top_shop; shop++)
|
||||||
SHOP_KEEPER(shop) += (SHOP_KEEPER(shop) != NOTHING && SHOP_KEEPER(shop) >= found);
|
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);
|
add_to_save_list(zone_table[real_zone_by_thing(vnum)].number, SL_MOB);
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user