engine: client: fix sprites transparency in Night at the Office

This commit is contained in:
Alibek Omarov 2024-04-02 02:18:49 +03:00
parent 5c0c1b1226
commit ef786b7d79

View file

@ -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 );
}