mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Update genwld.c
Fixed a parsing bug in the text-editor where an errant %s could cause a crash. (thanks Kyle)
This commit is contained in:
parent
4efecf77c1
commit
52c6c82421
1 changed files with 2 additions and 2 deletions
|
@ -313,8 +313,8 @@ int save_rooms(zone_rnum rzone)
|
|||
room->room_flags[3], room->sector_type
|
||||
);
|
||||
|
||||
fprintf(sf, convert_from_tabs(buf2), 0);
|
||||
|
||||
fprintf(sf, "%s", convert_from_tabs(buf2));
|
||||
|
||||
/* Now you write out the exits for the room. */
|
||||
for (j = 0; j < DIR_COUNT; j++) {
|
||||
if (R_EXIT(room, j)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue