mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 17:59:37 +00:00
game: fix touch transparency mode for cut scenes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user