mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
make the PF_Find search field error more informative
This commit is contained in:
parent
c5eb7d6e94
commit
1342533234
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ PF_Find (progs_t *pr)
|
|||
f = P_INT (pr, 1);
|
||||
field_def = ED_FieldAtOfs (pr, f);
|
||||
if (!field_def)
|
||||
PR_RunError (pr, "PF_Find: bad search field");
|
||||
PR_RunError (pr, "PF_Find: bad search field: %d", f);
|
||||
type = field_def->type & ~DEF_SAVEGLOBAL;
|
||||
|
||||
if (type == ev_string) {
|
||||
|
|
Loading…
Reference in a new issue