X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=61ae3e717e954c798de6eb3ca884419b5f378589;hb=4abc7d07404767933918e25220cab6c2eae683e5;hp=bf4e262bfc9d4fa8aad1ac12dea5d04175e06260;hpb=f648fc704c75dcfb0e7721a723c7c7391e708370;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index bf4e262b..61ae3e71 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1838,10 +1838,6 @@ static void DrawPreviewLevelLabelExt(int mode) font_nr = FONT_TEXT_3; #endif -#if 0 - printf("??? %d, %d\n", game_status, font_nr); -#endif - #if 1 max_len_label_text = getMaxTextLength(pos, font_nr); #else @@ -1908,12 +1904,8 @@ void DrawPreviewLevel(boolean restart) int last_game_status = game_status; /* save current game status */ #if 0 -#if 1 - game_status = GAME_MODE_MAIN; -#else /* force PREVIEW font on preview level */ game_status = GAME_MODE_PSEUDO_PREVIEW; -#endif #endif if (restart) @@ -2634,7 +2626,7 @@ boolean Request(char *text, unsigned int req_state) /* clear door drawing field */ DrawBackground(DX, DY, DXSIZE, DYSIZE); - /* force DOOR font on preview level */ + /* force DOOR font inside door area */ game_status = GAME_MODE_PSEUDO_DOOR; /* write text for request */