aboutsummaryrefslogtreecommitdiff
path: root/windows.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2022-01-08 14:24:20 +0000
committerSimon Tatham <anakin@pobox.com>2022-01-08 14:27:16 +0000
commitefbb2e3a31b16d34e060de633c5083c662a9ddac (patch)
tree6eb65a409a9d9ddbe22cbcd48af8bc4e2df6e4cf /windows.c
parent1600818848fc99eb53e0de240670b598ac490fdc (diff)
downloadpuzzles-efbb2e3a31b16d34e060de633c5083c662a9ddac.zip
puzzles-efbb2e3a31b16d34e060de633c5083c662a9ddac.tar.gz
puzzles-efbb2e3a31b16d34e060de633c5083c662a9ddac.tar.bz2
puzzles-efbb2e3a31b16d34e060de633c5083c662a9ddac.tar.xz
Mosaic: fix encoding of aggressiveness in game params.
The default setting for 'aggressiveness' is true. But the extra suffix to specify it in the full version of the encoded game params was being set if aggressiveness _was_ true, not if it was false. Result: round trip encode/decode of a non-aggressive configuration fails, because the encoded string has no aggressiveness suffix, and the decoder interprets that as going back into aggressive mode. Pulled out the default setting into a #define which is checked consistently in both locations.
Diffstat (limited to 'windows.c')
0 files changed, 0 insertions, 0 deletions