Make AGIPAL also accept 'pal.100' (Original hacked interpreter also does this).

svn-id: r30213
This commit is contained in:
Kari Salminen 2008-01-04 00:24:29 +00:00
parent a1503bf7c8
commit 28bbae1745

View File

@ -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;