-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if written save files are zero length. Fixes #191
By default, file writing fails aren't detected by Inform. This becomes a problem if we run out of disk space, because the games allows saving without complaint, and then the save files will be useless when the player tries to restore. We fix this by rewriting the save game routine to check that the files aren't 0 length. Fix provided by Dannii Willis.
- Loading branch information
1 parent
23e5bc0
commit b2b8896
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The lack of a space after the quote isn't a problem? Fascinating edge case to Inform's syntax!