mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-02 05:42:35 +00:00
[type] Use vec4 and vec3 in Ruamoko progs
I'm not sure if that was a thinko, typo, or something else, but judging by the relevant commit message, the use of quaternion and vector was intended only for advanced progs (v6p).
This commit is contained in:
parent
0d639510e3
commit
c92dd9d86c
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ vector_type (const type_t *ele_type, int width)
|
|||
for (type_t **vtype = vec_types; *vtype; vtype++) {
|
||||
if ((*vtype)->type == ele_type->type
|
||||
&& (*vtype)->width == width) {
|
||||
if (options.code.progsversion <= PROG_VERSION) {
|
||||
if (options.code.progsversion < PROG_VERSION) {
|
||||
if (*vtype == &type_vec3) {
|
||||
return &type_vector;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue