mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
oops, initialize type_param properly (D'OH:)
This commit is contained in:
parent
dcd143f197
commit
e957dc798f
1 changed files with 12 additions and 0 deletions
|
@ -613,6 +613,18 @@ init_types (void)
|
|||
new_struct_field (strct, &type_integer, "integer_val", vis_public);
|
||||
new_struct_field (strct, &type_uinteger, "uinteger_val", vis_public);
|
||||
|
||||
strct = calloc (sizeof (struct_t), 1);
|
||||
init_struct (strct, &type_param, str_union, 0);
|
||||
new_struct_field (strct, &type_string, "string_val", vis_public);
|
||||
new_struct_field (strct, &type_float, "float_val", vis_public);
|
||||
new_struct_field (strct, &type_vector, "vector_val", vis_public);
|
||||
new_struct_field (strct, &type_entity, "entity_val", vis_public);
|
||||
new_struct_field (strct, &type_field, "field_val", vis_public);
|
||||
new_struct_field (strct, &type_function, "func_val", vis_public);
|
||||
new_struct_field (strct, &type_pointer, "pointer_val", vis_public);
|
||||
new_struct_field (strct, &type_integer, "integer_val", vis_public);
|
||||
new_struct_field (strct, &type_uinteger, "uinteger_val", vis_public);
|
||||
|
||||
if (options.traditional)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue