diff --git a/tools/qfcc/include/type.h b/tools/qfcc/include/type.h index 85f905739..d9f35223c 100644 --- a/tools/qfcc/include/type.h +++ b/tools/qfcc/include/type.h @@ -79,6 +79,7 @@ extern type_t type_param; extern type_t type_zero; extern struct struct_s *vector_struct; +extern struct struct_s *quaternion_struct; struct dstring_s; diff --git a/tools/qfcc/source/type.c b/tools/qfcc/source/type.c index f3bc42098..1163bca74 100644 --- a/tools/qfcc/source/type.c +++ b/tools/qfcc/source/type.c @@ -99,7 +99,7 @@ type_t type_param; type_t type_zero; struct_t *vector_struct; -struct_t *quaterion_struct; +struct_t *quaternion_struct; type_t type_floatfield = { ev_field, ".float", NULL, &type_float }; @@ -667,7 +667,7 @@ init_types (void) new_struct_field (strct, &type_float, "y", vis_public); new_struct_field (strct, &type_float, "z", vis_public); - strct = quaterion_struct = get_struct (0, 1); + strct = quaternion_struct = get_struct (0, 1); init_struct (strct, new_type (), str_struct, 0); new_struct_field (strct, &type_float, "s", vis_public); new_struct_field (strct, &type_float, "x", vis_public);