[Ohrrpgce] SVN: teeemcee/11771 Use curmasterpal() instead of master() in a few places

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


teeemcee
2020-04-26 04:53:53 -0700 (Sun, 26 Apr 2020)
476
Use curmasterpal() instead of master() in a few places

This fixes glitches if a script changes the master palette but hasn't called
fadescreenin/updatepalette when drawing e.g. transrects or minimaps.
That's pretty unlikely, but especially when we allow 32-bit color mode, using
master() would cause transrects to be drawn wrong when the screen is faded.

Also changed findrgb to use nearcolor_fast instead of nearcolor (effectively
switches from master() to curmasterpal()).
---
U   wip/allmodex.bi
U   wip/common.rbas
U   wip/menus.bas
U   wip/slices.bas
U   wip/yetmore2.bas


More information about the Ohrrpgce mailing list