mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-24 03:00:13 +01:00
tbaMUD 3.54
[Oct 10 2007] - Rumble Added OLC menu options for Copying. The Xcopy option is still available for GODs and above. Player table is now created if it does not exist. (thanks Rhade) [Oct 08 2007] - Rumble Removed top_shop_offset variable, hopefully fixing the infamous sedit bug. Fixed memory leaks from not freeing new zone builders and new zone commands. (thanks Neme)
This commit is contained in:
parent
40b643b7d5
commit
0b3748b07a
38 changed files with 12904 additions and 12966 deletions
|
|
@ -82,7 +82,7 @@ int add_mobile(struct char_data *mob, mob_vnum vnum)
|
|||
|
||||
/* Update shop keepers. */
|
||||
if (shop_index)
|
||||
for (shop = 0; shop <= top_shop - top_shop_offset; shop++)
|
||||
for (shop = 0; shop <= top_shop; shop++)
|
||||
SHOP_KEEPER(shop) += (SHOP_KEEPER(shop) != NOTHING && SHOP_KEEPER(shop) >= found);
|
||||
|
||||
add_to_save_list(zone_table[real_zone_by_thing(vnum)].number, SL_MOB);
|
||||
|
|
@ -150,7 +150,7 @@ int delete_mobile(mob_rnum refpt)
|
|||
|
||||
/* Update shop keepers. */
|
||||
if (shop_index)
|
||||
for (counter = 0; counter <= top_shop - top_shop_offset; counter++)
|
||||
for (counter = 0; counter <= top_shop; counter++)
|
||||
SHOP_KEEPER(counter) -= (SHOP_KEEPER(counter) >= refpt);
|
||||
|
||||
save_mobiles(real_zone_by_thing(vnum));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue