mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 21:31:30 +00:00
[gamecode] use correct void for global_string
It seems gcc is a little fast and loose with 0 as a null vector.
This commit is contained in:
parent
2f9df0f05b
commit
cdcf1a71ea
1 changed files with 2 additions and 1 deletions
|
@ -1641,7 +1641,8 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents)
|
||||||
break;
|
break;
|
||||||
case 'V':
|
case 'V':
|
||||||
opval += pr->pr_bases[opreg];
|
opval += pr->pr_bases[opreg];
|
||||||
str = global_string (&data, opval, ev_void,
|
optype = &res->void_type;
|
||||||
|
str = global_string (&data, opval, optype,
|
||||||
contents & 1);
|
contents & 1);
|
||||||
break;
|
break;
|
||||||
case 'G':
|
case 'G':
|
||||||
|
|
Loading…
Reference in a new issue