diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-01-07 22:29:17 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-01-15 16:24:27 +0000 |
| commit | 0dbbd52935b8b17b3b3ab3d9ae6271cde891f70b (patch) | |
| tree | 6c7ad6a68b0e57eca88156f3d2da5df4468cc985 | |
| parent | e616d7aac9fff2d65bde4c6f8dcfc8d1222dc803 (diff) | |
| download | puzzles-0dbbd52935b8b17b3b3ab3d9ae6271cde891f70b.zip puzzles-0dbbd52935b8b17b3b3ab3d9ae6271cde891f70b.tar.gz puzzles-0dbbd52935b8b17b3b3ab3d9ae6271cde891f70b.tar.bz2 puzzles-0dbbd52935b8b17b3b3ab3d9ae6271cde891f70b.tar.xz | |
Palisade: remove assertion from decode_ui()
Other games tolerate receiving an encoded game_ui even if they can
never generate one. This is sensible, since it means that if a new
version starts saving UI state, old versions can load save files
generated by those newer versions.
| -rw-r--r-- | palisade.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -894,7 +894,6 @@ static char *encode_ui(const game_ui *ui) static void decode_ui(game_ui *ui, const char *encoding) { - assert (encoding == NULL); } static void game_changed_state(game_ui *ui, const game_state *oldstate, |