mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-20 18:41:44 +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:
@@ -228,7 +228,7 @@ int delete_room(room_rnum rnum)
|
||||
}
|
||||
|
||||
/* Remove this room from all shop lists. */
|
||||
for (i = 0;i < top_shop;i++) {
|
||||
for (i = 0; i < top_shop; i++) {
|
||||
for (j = 0;SHOP_ROOM(i, j) != NOWHERE;j++) {
|
||||
if (SHOP_ROOM(i, j) == world[rnum].number)
|
||||
SHOP_ROOM(i, j) = 0; /* set to the void */
|
||||
|
||||
Reference in New Issue
Block a user