diff options
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 3236b52c3..d5970db2c 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -4318,7 +4318,9 @@ static void ResetCustomHouses() for (file = _first_grffile; file != NULL; file = file->next) { if (file->housespec == NULL) continue; - for (i = 0; i < HOUSE_MAX; i++) free(file->housespec[i]); + for (i = 0; i < HOUSE_MAX; i++) { + free(file->housespec[i]); + } free(file->housespec); file->housespec = NULL; |