mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 10:43:29 +00:00
[gamecode] Move profile out of the union
It happens to sit over the builtin data pointer and thus messes up PR_Profile (any attempt to count calls to builtins).
This commit is contained in:
parent
b425f449b6
commit
974af36d13
1 changed files with 1 additions and 1 deletions
|
@ -1255,13 +1255,13 @@ typedef struct {
|
|||
typedef struct {
|
||||
pr_int_t first_statement;
|
||||
pr_int_t numparams;
|
||||
pr_ulong_t profile;
|
||||
union {
|
||||
struct {
|
||||
dparmsize_t param_size[PR_MAX_PARAMS];
|
||||
dfunction_t *descriptor;
|
||||
pr_uint_t params_start;
|
||||
pr_uint_t locals;
|
||||
pr_uint_t profile;
|
||||
};
|
||||
struct {
|
||||
// although Ruamoko progs support more than PR_MAX_PARAMS
|
||||
|
|
Loading…
Reference in a new issue