From 1bee58840dd5ca33c67ee89cb93525c281e5dcd9 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Sun, 7 Apr 2013 13:43:17 +0200 Subject: [PATCH] Silence a gcc48 warning due to some "creative" array usage To my understanding this code and the old code do exactly the same, this one is just more readable. Therefor this change should be a no-op. --- src/refresh/r_model.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/refresh/r_model.c b/src/refresh/r_model.c index ee1a6edc..4da12d46 100644 --- a/src/refresh/r_model.c +++ b/src/refresh/r_model.c @@ -454,9 +454,10 @@ Mod_LoadTexinfo(lump_t *l) for (i = 0; i < count; i++, in++, out++) { - for (j = 0; j < 8; j++) + for (j = 0; j < 4; j++) { out->vecs[0][j] = LittleFloat(in->vecs[0][j]); + out->vecs[1][j] = LittleFloat(in->vecs[1][j]); } out->flags = LittleLong(in->flags);