mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-26 05:21:45 +01:00
Fixed a crash bug with saving shops due to double parsing
This commit is contained in:
@@ -416,7 +416,7 @@ int save_shops(zone_rnum zone_num)
|
|||||||
S_NOTRADE(shop)
|
S_NOTRADE(shop)
|
||||||
);
|
);
|
||||||
|
|
||||||
fprintf(shop_file, convert_from_tabs(buf), 0);
|
fputs(convert_from_tabs(buf), shop_file);
|
||||||
|
|
||||||
/* Save the rooms. */
|
/* Save the rooms. */
|
||||||
for (j = 0;S_ROOM(shop, j) != NOWHERE; j++)
|
for (j = 0;S_ROOM(shop, j) != NOWHERE; j++)
|
||||||
|
|||||||
Reference in New Issue
Block a user