Fix a couple of things

git-svn-id: https://svn.eduke32.com/eduke32@140 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-05-02 05:20:36 +00:00
parent 19a7ae03e6
commit 3ff229d5a6
2 changed files with 10 additions and 8 deletions

View file

@ -7199,7 +7199,7 @@ long setgamemode(char davidoption, long daxdim, long daydim, long dabpp)
setview(0L,0L,xdim-1,ydim-1);
clearallviews(0L);
setbrightness((char)curbrightness,(char *)&palette[0],0);
setbrightness(curbrightness,palette,0);
if (searchx < 0) { searchx = halfxdimen; searchy = (ydimen>>1); }

View file

@ -8868,18 +8868,20 @@ MAIN_LOOP_RESTART:
if( ps[myconnectindex].gm&MODE_EOL || ps[myconnectindex].gm&MODE_RESTART )
{
if( ps[myconnectindex].gm&MODE_EOL && display_bonus_screen == 1)
if( ps[myconnectindex].gm&MODE_EOL)
{
closedemowrite();
ready2send = 0;
i = ud.screen_size;
ud.screen_size = 0;
vscrn();
ud.screen_size = i;
dobonus(0);
if(display_bonus_screen == 1)
{
i = ud.screen_size;
ud.screen_size = 0;
vscrn();
ud.screen_size = i;
dobonus(0);
}
if(ud.eog)
{
ud.eog = 0;