fix a silly typo that was causing the _y of vectors to get pointed to the

wrong place
This commit is contained in:
Bill Currie 2002-06-17 01:22:45 +00:00
parent 59dba829f2
commit b519c0b7cd

View file

@ -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);