move the return ealier in V_DoPostProcessor

This commit is contained in:
Alug committed 2024-10-25 20:21:04 +02:00
1 parent 63d4ae5206
commit 6333fc73e9
1 file changed
+3 -3
+3 -3
View File
@@ -3212,6 +3212,9 @@ void V_DoPostProcessor(INT32 view, player_t *player, INT32 param)
if (view < 0 || view > 3 || view > splitscreen)
return;
if (!player->postimgflags)
return;
if ((view == 1 && splitscreen == 1) || view >= 2)
yoffset = viewheight;
else
@@ -3225,9 +3228,6 @@ void V_DoPostProcessor(INT32 view, player_t *player, INT32 param)
UINT8 *tmpscr = screens[4];
UINT8 *srcscr = screens[0];
if (!player->postimgflags)
return;
if (player->postimgflags & POSTIMG_WATER)
{
INT32 y;