From 7e5c4fe311303db59cdc388a688e5804f5838d0e Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 18 Jul 2022 10:40:02 -0400 Subject: [PATCH] fix animation loops --- qbsp/map.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qbsp/map.cc b/qbsp/map.cc index f7e8c684..54e64128 100644 --- a/qbsp/map.cc +++ b/qbsp/map.cc @@ -323,6 +323,9 @@ int FindMiptex(const char *name, std::optional &extended_inf if (wal->animation == name) break; } + + // link back to the start + map.miptex[last_i].animation_miptex = i; } }