aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_section.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2017-08-20 13:24:25 -0700
committerDavid Fioramonti2017-08-20 13:24:37 -0700
commitffbfdac87ed43535091f5273eea3dd9e8ec6d979 (patch)
tree7d25f973b7d77fd6cf1fcdfc45036cc7d0310d5e /engines/titanic/pet_control/pet_section.cpp
parentcd9fe5c219d647bc8d3bc4cab6be29c7f2bc4525 (diff)
downloadscummvm-rg350-ffbfdac87ed43535091f5273eea3dd9e8ec6d979.tar.gz
scummvm-rg350-ffbfdac87ed43535091f5273eea3dd9e8ec6d979.tar.bz2
scummvm-rg350-ffbfdac87ed43535091f5273eea3dd9e8ec6d979.zip
TITANIC: Change ship view and position even if not moved
The code was preventing the position and view from changing when the distance between the current and new position for a marked auto mover was zero. This happens if you lock the 2nd or 3rd star and then unlock and relock again. It was prevented this with asserts and if statement checks and I removed them all. This section of code isn't doing any inverses based on the reciprocal of the distance so theres no issue with allowing transition speeds/distances of zero. Fixes #10148.
Diffstat (limited to 'engines/titanic/pet_control/pet_section.cpp')
0 files changed, 0 insertions, 0 deletions