Skip to content

Commit 4ad8cba

Browse files
CLVM: improve getstati() warning
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
1 parent bca5b75 commit 4ad8cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clvm_cmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,7 @@ static void VM_CL_getstati (prvm_prog_t *prog)
20542054
if(index < 0 || index >= MAX_CL_STATS)
20552055
{
20562056
PRVM_G_FLOAT(OFS_RETURN) = 0;
2057-
VM_Warning(prog, "VM_CL_getstati: index>=MAX_CL_STATS or index<0\n");
2057+
VM_Warning(prog, "VM_CL_getstati: index(%i) is >=MAX_CL_STATS(%i) or <0\n", index, MAX_CL_STATS);
20582058
return;
20592059
}
20602060

0 commit comments

Comments
 (0)