mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 13:21:10 +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;
|
||||
case 'V':
|
||||
opval += pr->pr_bases[opreg];
|
||||
str = global_string (&data, opval, ev_void,
|
||||
optype = &res->void_type;
|
||||
str = global_string (&data, opval, optype,
|
||||
contents & 1);
|
||||
break;
|
||||
case 'G':
|
||||
|
|
Loading…
Reference in a new issue