]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
CLVM: improve getstati() warning
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 6 Aug 2024 04:01:06 +0000 (14:01 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 6 Aug 2024 05:11:32 +0000 (15:11 +1000)
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
clvm_cmds.c

index 971afbdb688c457fd79d9413d125ffcbd3a1c10a..08a629f341743dd270fea72f992c0d54fdef1d69 100644 (file)
@@ -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;
        }