[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:
Bill Currie 2022-03-31 02:48:01 +09:00
parent 2f9df0f05b
commit cdcf1a71ea

View file

@ -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':