Kill gamma in Mapster32 2D mode

git-svn-id: https://svn.eduke32.com/eduke32@351 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-11-19 07:31:03 +00:00
parent 2d356245f2
commit 504ff2e8a4
1 changed files with 4 additions and 0 deletions

View File

@ -370,6 +370,7 @@ int app_main(int argc, char **argv)
numsectors = 0;
numwalls = 0;
cursectnum = -1;
setbrightness(0,palette,0);
overheadeditor();
keystatus[buildkeys[14]] = 0;
}
@ -2387,6 +2388,7 @@ void editinput(void)
}
if (keystatus[buildkeys[14]] > 0) // Enter
{
setbrightness(0,palette,0);
overheadeditor();
keystatus[buildkeys[14]] = 0;
}
@ -5890,6 +5892,8 @@ CANCEL:
exit(0);
}
setbrightness(brightness,palette,0);
posz = oposz;
searchx = scale(searchx,xdimgame,xdim2d);
searchy = scale(searchy,ydimgame,ydim2d-STATUS2DSIZ);