mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
Use the correct meta type for spacial types.
Although vector and quaternion types have symbol tables, they are not really structs, so set the meta type to "none", allowing the types to be encoded correctly.
This commit is contained in:
parent
cefe7e2e94
commit
46093c0937
1 changed files with 2 additions and 0 deletions
|
@ -846,12 +846,14 @@ init_types (void)
|
||||||
make_structure (0, 'u', param_struct, &type_param);
|
make_structure (0, 'u', param_struct, &type_param);
|
||||||
make_structure (0, 's', vector_struct, &type_vector);
|
make_structure (0, 's', vector_struct, &type_vector);
|
||||||
type_vector.type = ev_vector;
|
type_vector.type = ev_vector;
|
||||||
|
type_vector.ty = ty_none;
|
||||||
|
|
||||||
if (options.traditional)
|
if (options.traditional)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
make_structure (0, 's', quaternion_struct, &type_quaternion);
|
make_structure (0, 's', quaternion_struct, &type_quaternion);
|
||||||
type_quaternion.type = ev_quat;
|
type_quaternion.type = ev_quat;
|
||||||
|
type_quaternion.ty = ty_none;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue