mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Bugfix, found by qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2936 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9a59674c19
commit
85c12e3a9c
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ static int syscallqvm (void *offset, unsigned int mask, int fn, const int *arg)
|
|||
break;
|
||||
|
||||
case G_SPRINT:
|
||||
if ((unsigned)VM_LONG(arg[0]) >= sv.allocated_client_slots)
|
||||
if ((unsigned)VM_LONG(arg[0]) > sv.allocated_client_slots)
|
||||
return 0;
|
||||
SV_ClientPrintf(&svs.clients[VM_LONG(arg[0])-1], VM_LONG(arg[1]), "%s", VM_POINTER(arg[2]));
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue