Opened 12 months ago
Closed 12 months ago
Last modified 5 months ago
#13359 closed defect (fixed)
REMORSE: Prism puzzle not working correctly at Mission 03
|Reported by:||ParovozNFF||Owned by:||mduggan|
|Cc:||ParovozNFF||Game:||Crusader: No Remorse|
There is a puzzle at Mission 03 where you need to operate two prisms to change the direction of a light beam. Instead of sending the beam in the different direction, the first prism reflects it back, making it impossible to progress.
I am using 2.5.1 stable build of ScummVM in Russian on Windows 10 x64 build 10.0.19044
Change History (7)
by , 12 months ago
comment:1 by , 12 months ago
comment:2 by , 12 months ago
The reason it's not working is the
gotHit events are not being triggered. Notes for myself:
- Reference playthrough of original showing how it should behave
BOUNCBOX::gotHitevent should change a
BLASEREW, and vice-versa
move_if_blockedflag set. When the move fails, it reverses direction
- This suggests that even when
move_if_blockedis *not* set, we should still call the hit / gotHit events - otherwise there is no way for
BOUNCBOX::gotHitto ever get called in this case (the laser's move just fails and it reverses direction)
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.
comment:3 by , 12 months ago
|Status:||new → closed|
Pushed a fix for this in 3698340e3ab. Thanks again for the report, it revealed a subtle error in my logic on the flag for the
I_legalMoveToPoint intrinsic that almost never made a difference.. until it did.
comment:4 by , 12 months ago
|Summary:||Prism puzzle not working correctly at Mission 03 → CRUSADER: Prism puzzle not working correctly at Mission 03|
comment:5 by , 12 months ago
|Summary:||CRUSADER: Prism puzzle not working correctly at Mission 03 → REMORSE: Prism puzzle not working correctly at Mission 03|
comment:6 by , 5 months ago
Thanks a lot!
Thanks for the report and adding a save for repro. This used to work, or at least I got past it in my playthrough originally. But, then I made a bunch of changes afterward so I guess I probably broke it again. I'll have to go back and see why it's broken.