work around some illegal var access' in COMI/V8 - there are more, but I am not always sure if avoiding the access is the proper fix; maybe in some cases we should just define that var for V8 to the proper value?
svn-id: r7425
This commit is contained in:
parent
f412952667
commit
5be0ce7adc
3 changed files with 9 additions and 5 deletions
|
@ -2724,8 +2724,9 @@ void Scumm::cyclePalette() {
|
|||
byte *start, *end;
|
||||
byte tmp[3];
|
||||
|
||||
if (_features & GF_AFTER_V2) {
|
||||
if (VAR_TIMER == 0xFF) {
|
||||
// FIXME - no idea if this is right :-/
|
||||
// Needed for both V2 and V8 at this time
|
||||
valueToAdd = VAR(VAR_TIMER_NEXT);
|
||||
} else {
|
||||
valueToAdd = VAR(VAR_TIMER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue