FOV circle for FOV < 1
This commit is contained in:
parent
f568229848
commit
a935c9a1b4
@ -970,7 +970,7 @@ void DrawText() {
|
|||||||
// Broken from kathook merge, TODO needs to be adapted for imgui
|
// Broken from kathook merge, TODO needs to be adapted for imgui
|
||||||
if (fov_draw) {
|
if (fov_draw) {
|
||||||
// It cant use fovs greater than 180, so we check for that
|
// It cant use fovs greater than 180, so we check for that
|
||||||
if (fov && float(fov) < 180) {
|
if (float(fov) > 0.0f && float(fov) < 180) {
|
||||||
// Dont show ring while player is dead
|
// Dont show ring while player is dead
|
||||||
if (LOCAL_E->m_bAlivePlayer) {
|
if (LOCAL_E->m_bAlivePlayer) {
|
||||||
rgba_t color = GUIColor();
|
rgba_t color = GUIColor();
|
||||||
|
Reference in New Issue
Block a user