From 354c011e5cd0bc5063cf5e9eea25ce0616040c5c Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Sat, 8 Jul 2017 23:06:21 +0200 Subject: [PATCH] use strict `less than` --- qcsrc/client/miscfunctions.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/miscfunctions.qc b/qcsrc/client/miscfunctions.qc index b1bf10bdf..f23577d81 100644 --- a/qcsrc/client/miscfunctions.qc +++ b/qcsrc/client/miscfunctions.qc @@ -197,8 +197,8 @@ bool projected_on_screen(vector screen_pos) return screen_pos.z >= 0 && screen_pos.x >= 0 && screen_pos.y >= 0 - && screen_pos.x <= vid_conwidth - && screen_pos.y <= vid_conheight; + && screen_pos.x < vid_conwidth + && screen_pos.y < vid_conheight; } float expandingbox_sizefactor_from_fadelerp(float fadelerp) -- 2.39.2