[Scummvm-tracker] [ScummVM :: Bugs] #17424: The position of the hotspot markers is shifted

ScummVM :: Bugs trac at scummvm.org
Mon Nov 2 15:00:42 UTC 2026


#17424: The position of the hotspot markers is shifted
--------------------------+--------------------------------------
Reporter:  FabianNitsche  |       Owner:  (none)
    Type:  defect         |      Status:  new
Priority:  low            |   Component:  Engine: MACS2
 Version:                 |  Resolution:
Keywords:                 |        Game:  Der Schatz im Silbersee
--------------------------+--------------------------------------
Comment (by mgerhardy):

 This is what Scorp told me about it:

 here is what i found


 {{{
     if (enhancementEnabled(kEnhUIUX))
         return gameHeight() + kUIHeight;
 }}}

 but in getHotspotPositions you have this

 {{{
 if (center.x < 0 || center.x >= screenWidth() || center.y < 0 || center.y
 >= gameHeight())
 }}}

 so you actually pass wrong data to hotspots, as it is taller than
 gameHeight()
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/17424#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list