mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
correct some error messages
This commit is contained in:
parent
6039c210a7
commit
d222f25f0b
1 changed files with 2 additions and 2 deletions
|
@ -1426,7 +1426,7 @@ PF_getboxbounds (progs_t *pr)
|
|||
int h = G_INT (pr, OFS_PARM0) - 1;
|
||||
|
||||
if (h < 0 || h > MAX_PF_HULLS - 1 || !(ch = pf_hull_list[h]))
|
||||
PR_RunError (pr, "PF_freeboxhull: invalid box hull handle\n");
|
||||
PR_RunError (pr, "PF_getboxbounds: invalid box hull handle\n");
|
||||
|
||||
if (G_INT (pr, OFS_PARM1)) {
|
||||
VectorCopy (ch->maxs, G_VECTOR (pr, OFS_RETURN));
|
||||
|
@ -1515,7 +1515,7 @@ PF_rotate_bbox (progs_t *pr)
|
|||
};
|
||||
|
||||
if (h < 0 || h > MAX_PF_HULLS - 1 || !(ch = pf_hull_list[h]))
|
||||
PR_RunError (pr, "PF_freeboxhull: invalid box hull handle\n");
|
||||
PR_RunError (pr, "PF_rotate_bbox: invalid box hull handle\n");
|
||||
|
||||
// set up the rotation matrix. the three orientation vectors form the
|
||||
// columns of the rotation matrix
|
||||
|
|
Loading…
Reference in a new issue