From 0baced1d6cef3f33c7cc1f34053c5a9538078cca Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 8 Sep 2019 01:01:17 +0000 Subject: [PATCH] Fix obscure animlib bug git-svn-id: https://svn.eduke32.com/eduke32@8081 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/mact/src/animlib.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/mact/src/animlib.cpp b/source/mact/src/animlib.cpp index c937b755d..8e506e069 100644 --- a/source/mact/src/animlib.cpp +++ b/source/mact/src/animlib.cpp @@ -71,8 +71,10 @@ static inline uint16_t findpage(uint16_t framenumber) i = 0, j = false; continue; } + + break; } - while (0); + while (1); return (uint16_t)i; }