[Scummvm-tracker] [ScummVM :: Bugs] #15388: TWINE: LBA: Bulldozer driven by Twinsen can get stuck behind truck (soft lock)

ScummVM :: Bugs trac at scummvm.org
Sun May 24 15:59:50 UTC 2026


#15388: TWINE: LBA: Bulldozer driven by Twinsen can get stuck behind truck (soft
lock)
--------------------------------+-----------------------------------
Reporter:  antoniou79           |       Owner:  (none)
    Type:  defect               |      Status:  new
Priority:  normal               |   Component:  Engine: TwinE
 Version:                       |  Resolution:
Keywords:  collision-detection  |        Game:  Little Big Adventure
--------------------------------+-----------------------------------
Comment (by mgerhardy):

 if (collision.y <= -1) return kSolid;

 For y = -1:

 - Original: -1 >> 8 = -1 → returns 1 (solid)
 - ScummVM: -1 / 256 = 0 → does NOT return solid, proceeds to grid lookup

 For y = -255:

 - Original: -255 >> 8 = -1 → returns 1 (solid)
 - ScummVM: -255 / 256 = 0 → does NOT return solid, proceeds to grid lookup
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15388#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list