mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
always initialize tranmap (#511)
* always initialize tranmap * tranmap init is not needed for cheat
This commit is contained in:
parent
e4bbd2b98d
commit
d95f990fc1
@ -616,10 +616,6 @@ static void cheat_tran()
|
||||
plyr->message = // Ty 03/27/98 - *not* externalized
|
||||
(general_translucency = !general_translucency) ? "Translucency enabled" :
|
||||
"Translucency disabled";
|
||||
|
||||
// killough 3/1/98, 4/11/98: cache translucency map on a demand basis
|
||||
if (general_translucency && !main_tranmap)
|
||||
R_InitTranMap(0);
|
||||
}
|
||||
|
||||
static void cheat_massacre() // jff 2/01/98 kill all monsters
|
||||
|
@ -3761,7 +3761,6 @@ setup_menu_t gen_settings2[] = { // General Settings screen2
|
||||
|
||||
void M_Trans(void) // To reset translucency after setting it in menu
|
||||
{
|
||||
if (general_translucency)
|
||||
R_InitTranMap(0);
|
||||
}
|
||||
|
||||
|
@ -990,7 +990,6 @@ void R_InitData(void)
|
||||
R_InitTextures();
|
||||
R_InitFlats();
|
||||
R_InitSpriteLumps();
|
||||
if (general_translucency) // killough 3/1/98, 10/98
|
||||
R_InitTranMap(1); // killough 2/21/98, 3/6/98
|
||||
R_InitColormaps(); // killough 3/20/98
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user