game: fix touch transparency mode for cut scenes

This commit is contained in:
nillerusr
2023-08-17 15:59:47 +03:00
parent 4f10928299
commit 601cfff164
3 changed files with 9 additions and 0 deletions

View File

@@ -425,6 +425,13 @@ void CTouchControls::Init()
initialized = true;
}
void CTouchControls::LevelInit()
{
m_bCutScene = false;
m_AlphaDiff = 0;
m_flHideTouch = 0;
}
int nextPowerOfTwo(int x)
{
if( (x & (x - 1)) == 0)