X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_tail.h;h=4f8ed486b562c1bc9fb39acb1c061edc04645100;hb=68ed07e129d9504e398bc771082352ee0f591d85;hp=706494936633e2950e22d473d94e7dd696897a06;hpb=2fb58644b5c539decd246968bc9cc99b94069364;p=16.git diff --git a/src/lib/16_tail.h b/src/lib/16_tail.h index 70649493..4f8ed486 100755 --- a/src/lib/16_tail.h +++ b/src/lib/16_tail.h @@ -118,14 +118,13 @@ if(gvar.in.inst->Keyboard[sc_I]){ dbg_maptext=!dbg_maptext; IN_UserInput(1, &gvar); } \ if(gvar.in.inst->Keyboard[sc_PgDn]){ \ rotateR(gvar.video.palette, sizeof(gvar.video.palette)/sizeof(gvar.video.palette[0])); \ - VL_UpdatePaletteWrite(&gvar.video.palette, 0, &gvar); IN_UserInput(1, &gvar); } \ + VL_UpdatePaletteWrite(&gvar.video.palette, 0, 255, &gvar); IN_UserInput(1, &gvar); } \ if(gvar.in.inst->Keyboard[sc_PgUp]){ \ rotateL(gvar.video.palette, sizeof(gvar.video.palette)/sizeof(gvar.video.palette[0])); \ - VL_UpdatePaletteWrite(&gvar.video.palette, 0, &gvar); IN_UserInput(1, &gvar); } + VL_UpdatePaletteWrite(&gvar.video.palette, 0, 255, &gvar); IN_UserInput(1, &gvar); } #ifdef __BORLANDC__ #define PAL_WRITE_REG 0x03C8 /* Color register, write address */ #define PAL_DATA_REG 0x03C9 /* Color register, data port */ -word modexPalOverscan(word col); #endif void Shutdown16(global_game_variables_t *gvar),