Menu

#4547 DW2: crash in cartwheel stage

Discworld II
closed-fixed
5
2009-08-20
2009-08-19
No

When you click in the right down corner in the cartwheel scene, scummvm crashes with this error:

Assertion failed: InPolygon(*ptgtX, *ptgtY, PATH) != NOPOLY, file engines/tinsel
/move.cpp, line 190

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

I've attached a savegame, just click in the right down corner.

Tested on scummvm 1.0.0pre043480, Win32, English version of the game

Discussion

  • Jaroslaw Jaworski

     
  • Jaroslaw Jaworski

    • summary: crash im cartwheel stage --> DW2: crash in cartwheel stage
     
  • Paul Gilbert

    Paul Gilbert - 2009-08-20

    Congratulations - you've discovered a bug in the original game.. I even went back to the original game executable to verify it.

    The problem is that the polygonal area comprising the bottom right-hand corner of the screen in this scene has a 'walk to' point of 494,418. However, this isn't contained in any walkable 'PATH' polygonal area. Hence the assert. I'll have to experiment on how best to adjust the walk position of this polygon so it's in a walkable area.

     
  • Paul Gilbert

    Paul Gilbert - 2009-08-20
    • labels: --> Also occurs in the original
    • assigned_to: nobody --> dreammaster
     
  • Paul Gilbert

    Paul Gilbert - 2009-08-20
    • status: open --> closed-fixed