From ef786b7d799cf8ca3d4dddeccb4b2787fd8af2ec Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 2 Apr 2024 02:18:49 +0300 Subject: [PATCH] engine: client: fix sprites transparency in Night at the Office --- engine/client/cl_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_game.c b/engine/client/cl_game.c index 4810186e..37801f4e 100644 --- a/engine/client/cl_game.c +++ b/engine/client/cl_game.c @@ -1448,7 +1448,7 @@ pfnSPR_Draw */ static void GAME_EXPORT pfnSPR_Draw( int frame, int x, int y, const wrect_t *prc ) { - ref.dllFuncs.GL_SetRenderMode( kRenderNormal ); + ref.dllFuncs.GL_SetRenderMode( kRenderTransAlpha ); SPR_DrawGeneric( frame, x, y, -1, -1, prc ); }