diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-16 23:31:57 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-04-18 01:14:59 +0200 |
commit | fccf00cdad1dd8af0b85632ac8e3ae84bbc956bf (patch) | |
tree | 1a04da21b4681352b69dfbae5182873e40c52c59 /src | |
parent | ad3fc9ec2cc4b274216bff296e6afdc7647588b5 (diff) |
use >= in conditions of the form (level.time - some_base_time) vs some_time_length
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 960f4df..7363a1a 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -3448,7 +3448,7 @@ qboolean G_admin_is_restricted(gentity_t *ent, qboolean sendMessage) return qfalse; // Don't wait forever, allow up to 15 seconds. - if (level.time - j->queryTime > 15000) + if (level.time - j->queryTime >= 15000) return qfalse; if (sendMessage) |