fix Auto Reflect FOV ring crash
This commit is contained in:
parent
045fbbfc7e
commit
229dddbc25
@ -192,7 +192,7 @@ void Draw()
|
||||
if (*fov > 0.0f && *fov < 180)
|
||||
{
|
||||
// Dont show ring while player is dead
|
||||
if (LOCAL_E->m_bAlivePlayer())
|
||||
if (CE_GOOD(LOCAL_E) && LOCAL_E->m_bAlivePlayer())
|
||||
{
|
||||
rgba_t color = GUIColor();
|
||||
color.a = float(fovcircle_opacity);
|
||||
|
Reference in New Issue
Block a user