From b519c0b7cd37eb8f1134482ca39b4a3c6ff6dae7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 17 Jun 2002 01:22:45 +0000 Subject: [PATCH] fix a silly typo that was causing the _y of vectors to get pointed to the wrong place --- tools/qfcc/source/def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/def.c b/tools/qfcc/source/def.c index 7c8067e1d..773206399 100644 --- a/tools/qfcc/source/def.c +++ b/tools/qfcc/source/def.c @@ -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);