TINSEL: Fix loading DW1 savegames with a held item

This commit is contained in:
Paul Gilbert 2018-04-18 20:34:01 -04:00
parent 9f6b4a1583
commit 4c65db13df
2 changed files with 7 additions and 0 deletions

3
NEWS
View file

@ -25,6 +25,9 @@ For a more comprehensive changelog of the latest experimental code, see:
- Improved Audio quality in Humongous Entertainment games by using the Miles AdLib driver. - Improved Audio quality in Humongous Entertainment games by using the Miles AdLib driver.
- Fixed possible stack overflows in The Dig and Full Throttle. - Fixed possible stack overflows in The Dig and Full Throttle.
Tinsel:
- Fix loading Discworld 1 savegames from the launcher where Rincewind had a held item
Tucker: Tucker:
- Fixed multiple graphic issues in Bud Tucker in Double Trouble. - Fixed multiple graphic issues in Bud Tucker in Double Trouble.
- Fixed multiple issues with font and subtitle rendering. - Fixed multiple issues with font and subtitle rendering.

View file

@ -375,6 +375,10 @@ void SetAuxCursor(SCNHANDLE hFilm) {
DelAuxCursor(); // Get rid of previous DelAuxCursor(); // Get rid of previous
// WORKAROUND: There's no palette when loading a DW1 savegame with a held item, so exit if so
if (!BgPal())
return;
GetCursorXY(&x, &y, false); // Note: also waits for cursor to appear GetCursorXY(&x, &y, false); // Note: also waits for cursor to appear
pim = GetImageFromFilm(hFilm, 0, &pfr, &pmi, &pfilm);// Get pointer to image pim = GetImageFromFilm(hFilm, 0, &pfr, &pmi, &pfilm);// Get pointer to image