Skip to content

Commit

Permalink
Fix saving of walls_prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ojwb committed Mar 16, 2024
1 parent dbe0c85 commit 66afebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datain.c
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ data_file_walls_srv(void)
// We need to roll back prefix changes from the SRV when included from a
// WPJ.
char* saved_walls_prefix[3];
*saved_walls_prefix = *walls_prefix;
memcpy(saved_walls_prefix, walls_prefix, sizeof(saved_walls_prefix));

walls_srv_initialise_settings();
walls_srv_reset();
Expand Down

0 comments on commit 66afebd

Please sign in to comment.