aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/camera_auto_mover.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2017-08-18 20:18:27 -0700
committerDavid Fioramonti2017-08-18 20:28:16 -0700
commit82d0053f8bd472ec598645550825257ddd78d683 (patch)
tree01a08f13a73f6a7593135a40af86004f8756dedb /engines/titanic/star_control/camera_auto_mover.cpp
parentb200317306370e25fb9cb0b3fbefbb5c7b538773 (diff)
downloadscummvm-rg350-82d0053f8bd472ec598645550825257ddd78d683.tar.gz
scummvm-rg350-82d0053f8bd472ec598645550825257ddd78d683.tar.bz2
scummvm-rg350-82d0053f8bd472ec598645550825257ddd78d683.zip
TITANIC: Add logic to prevent removing locked/marked stars via skymap
If you want to remove locked stars you can do so using the D key, but previously, you could also deselect a currently locked star via the skymap and it would crash. It previously crashed if: 1. You had 2 stars locked on and you tried to remove the 1st 2. Had 1 locked and 1 unlocked and you tried to unlock the 1st 3. Had 2 locked and 1 unlocked and you tried to unlock any of the other two locked stars. Refactoring would allow quicker comprehension of the logic of this section of code. Fixes #10126.
Diffstat (limited to 'engines/titanic/star_control/camera_auto_mover.cpp')
0 files changed, 0 insertions, 0 deletions