Make AGIPAL also accept 'pal.100' (Original hacked interpreter also does this).
svn-id: r30213
This commit is contained in:
parent
a1503bf7c8
commit
28bbae1745
1 changed files with 3 additions and 3 deletions
|
@ -1332,9 +1332,9 @@ cmd(mouse_posn) {
|
|||
cmd(shake_screen) {
|
||||
int i;
|
||||
|
||||
// AGIPAL uses shake.screen values between 101 and 109 to
|
||||
// set the palette.
|
||||
if (p0 >= 101 && p0 < 110) {
|
||||
// AGIPAL uses shake.screen values between 100 and 109 to set the palette
|
||||
// (Checked the original AGIPAL-hack's shake.screen-routine's disassembly).
|
||||
if (p0 >= 100 && p0 < 110) {
|
||||
if (g_agi->getFeatures() & GF_AGIPAL) {
|
||||
g_gfx->setAGIPal(p0);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue