[Scummvm-tracker] [ScummVM :: Bugs] #17044: ASYLUM: Encounter cursor still shown after encounter has ended

ScummVM :: Bugs trac at scummvm.org
Sat Aug 22 17:31:34 UTC 2026


#17044: ASYLUM: Encounter cursor still shown after encounter has ended
-------------------------+-----------------------------
Reporter:  eriktorbjorn  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: Asylum
 Version:                |  Resolution:
Keywords:                |        Game:  Sanitarium
-------------------------+-----------------------------
Comment (by alexbevi):

 In [changeset:"ec424f1bb0e38d68249dbb719be94e5d1e3d1846" ec424f1b]:
 {{{#!CommitTicketReference repository=""
 revision="ec424f1bb0e38d68249dbb719be94e5d1e3d1846"
 ASYLUM: Restore the cursor after encounters

 ActivateEncounterDialog at 0x00412940 restores gameplay handling but does
 not select a cursor. UpdateGameState at 0x0040B5B0 then calls
 SelectGameplayCursorResource at 0x0040D580. SanitariumWindowProc at
 0x004367C0 updates the mouse-button bitmask before dispatching button
 messages.

 Refresh the scene's right-button latch from Common::EventManager and clear
 ScummVM's arrow-key movement state when the scene loses input focus.
 HandleGameplayKeyboardMessage at 0x0040FE20 has no retail arrow-key
 movement state. Use animation mode 0 for fallback cursors, preserve the
 Chapter 2 player-10 exception, and match Find/Grab/Talk priority.

 Fixes bug #17044

 Assisted-by: Codex:gpt-5.6-sol
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/17044#comment:7>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list