- don't draw screenblends when not in a 3D view.

Fixed #174.
This commit is contained in:
Christoph Oelckers 2020-08-12 22:52:41 +02:00
parent aef59ef523
commit 9c40c2f6af
3 changed files with 3 additions and 3 deletions

View file

@ -27,6 +27,7 @@
#include "menu.h"
#include "version.h"
#include "earcut.hpp"
#include "gamestate.h"
#ifdef USE_OPENGL
# include "mdsprite.h"
@ -2999,7 +3000,7 @@ void videoNextPage(void)
M_Drawer();
// Handle the final 2D overlays.
DrawFullscreenBlends();
if (gamestate == GS_LEVEL) DrawFullscreenBlends();
DrawRateStuff();
if (in3dmode())

View file

@ -144,7 +144,6 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
("visibility", w.visibility)
("bobcounter", w.bobcounter)
("weapon_sway", w.weapon_sway)
("pals_time", w.pals_time)
("randomflamex", w.randomflamex)
("crack_time", w.crack_time)
("aim.mode", w.aim_mode)

View file

@ -134,7 +134,7 @@ struct player_struct
int posxv, posyv, poszv, last_pissed_time, truefz, truecz;
int player_par, visibility;
int bobcounter;
int pals_time, randomflamex, crack_time;
int randomflamex, crack_time;
int aim_mode, auto_aim, ftt;