[Ohrrpgce] SVN: teeemcee/11768 Fix garbage upgraded UI colors in Dragon Bustier and other games

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Apr 26 04:53:29 PDT 2020


teeemcee
2020-04-26 04:53:28 -0700 (Sun, 26 Apr 2020)
580
Fix garbage upgraded UI colors in Dragon Bustier and other games

I haven't looked for any other games, but any pre-Beelzebufo (2013) game that
uses color 0 for vehicle shadow and a master palette other than the default
would have had new UI colors initialised to garbage values.

This was noticeable in Dragon Bustier because mouse hover color got set to black.

The bug happened because FillMissingUIColor depended on master(), which wasn't
loaded at the point the vehicle shadow color was upgraded (and UI colors
resaved)

This is a messy fix; cleaned up by next couple commits
---
U   wip/common.rbas
U   wip/whatsnew.txt


More information about the Ohrrpgce mailing list