Skip to content

Commit

Permalink
CLVM: improve getstati() warning
Browse files Browse the repository at this point in the history
Signed-off-by: bones_was_here <[email protected]>
  • Loading branch information
bones-was-here committed Aug 6, 2024
1 parent bca5b75 commit 4ad8cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clvm_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2054,7 +2054,7 @@ static void VM_CL_getstati (prvm_prog_t *prog)
if(index < 0 || index >= MAX_CL_STATS)
{
PRVM_G_FLOAT(OFS_RETURN) = 0;
VM_Warning(prog, "VM_CL_getstati: index>=MAX_CL_STATS or index<0\n");
VM_Warning(prog, "VM_CL_getstati: index(%i) is >=MAX_CL_STATS(%i) or <0\n", index, MAX_CL_STATS);
return;
}

Expand Down

0 comments on commit 4ad8cba

Please sign in to comment.