From 2934a62ed770fc0d71e9c9620fc0050f70d907a7 Mon Sep 17 00:00:00 2001 From: Vatiken Date: Wed, 4 Apr 2012 01:24:25 +0000 Subject: [PATCH] Fixed a crash bug with saving shops due to double parsing --- src/genshp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/genshp.c b/src/genshp.c index 72c7988..ea29098 100644 --- a/src/genshp.c +++ b/src/genshp.c @@ -416,7 +416,7 @@ int save_shops(zone_rnum zone_num) S_NOTRADE(shop) ); - fprintf(shop_file, convert_from_tabs(buf), 0); + fputs(convert_from_tabs(buf), shop_file); /* Save the rooms. */ for (j = 0;S_ROOM(shop, j) != NOWHERE; j++)