[Scummvm-tracker] [ScummVM :: Bugs] #13359: Prism puzzle not working correctly at Mission 03
ScummVM :: Bugs
trac at scummvm.org
Sun Mar 20 07:42:54 UTC 2022
#13359: Prism puzzle not working correctly at Mission 03
-------------------------------+-----------------------------------
Reporter: ParovozNFF | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Ultima
Version: | Resolution:
Keywords: gameplay, behavior | Game: Crusader: No Remorse
-------------------------------+-----------------------------------
Comment (by mduggan):
The reason it's not working is the `hit` and `gotHit` events are not being
triggered. Notes for myself:
* [https://youtu.be/zoG2St3LBto?t=2041 Reference playthrough of original
showing how it should behave]
* The `BOUNCBOX::gotHit` event should change a `BLASERNS` to a `BLASEREW`,
and vice-versa
* The `BLASER` repeatedly uses `I_legalMoveToPoint` without the
`move_if_blocked` flag set. When the move fails, it reverses direction
* This suggests that even when `move_if_blocked` is *not* set, we should
still call the hit / gotHit events - otherwise there is no way for
`BOUNCBOX::gotHit` to ever get called in this case.
I can put calling the events in before the early return in
`Item::I_legalMoveToPoint` and it should fix this problem. I hope it
doesn't cause any other problems? The current behaviour was set in
revision cbcebce55ddf to make spiderbombs work right. I need to go back
and compare to the behaviour before that too to be sure.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13359#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list