mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix a silly typo that was causing the _y of vectors to get pointed to the
wrong place
This commit is contained in:
parent
59dba829f2
commit
b519c0b7cd
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ get_def (type_t *type, const char *name, scope_t *scope, int allocate)
|
|||
d = new_def (&type_float, va ("%s_y", name), scope);
|
||||
d->used = 1;
|
||||
d->parent = def;
|
||||
d->ofs = def->ofs + 3;
|
||||
d->ofs = def->ofs + 1;
|
||||
Hash_Add (defs_by_name, d);
|
||||
|
||||
d = new_def (&type_float, va ("%s_z", name), scope);
|
||||
|
|
Loading…
Reference in a new issue