From 504ff2e8a4b9d0c8c3055e10deabaeee2b8a83af Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 19 Nov 2006 07:31:03 +0000 Subject: [PATCH] Kill gamma in Mapster32 2D mode git-svn-id: https://svn.eduke32.com/eduke32@351 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/build.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/polymer/build/src/build.c b/polymer/build/src/build.c index 03ecc111e..992412841 100644 --- a/polymer/build/src/build.c +++ b/polymer/build/src/build.c @@ -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);