mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Fixed a crash bug with saving shops due to double parsing
This commit is contained in:
parent
24018d145b
commit
2934a62ed7
1 changed files with 1 additions and 1 deletions
|
@ -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++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue