From: Martin Taibr Date: Sat, 8 Jul 2017 21:06:21 +0000 (+0200) Subject: use strict `less than` X-Git-Tag: xonotic-v0.8.5~2656^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=354c011e5cd0bc5063cf5e9eea25ce0616040c5c;p=xonotic%2Fxonotic-data.pk3dir.git use strict `less than` --- 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)