From 062207b2e9297f290b7ec7eb4977be331c006394 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 17 Sep 2019 03:20:34 +0000 Subject: [PATCH] Fix polymost_dorotatesprite() clipping git-svn-id: https://svn.eduke32.com/eduke32@8108 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/polymost.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index 2718531af..d71bcd126 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -7183,9 +7183,11 @@ void polymost_dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16 } while (nz); + n = 0; + if (nn >= 3) { - n = nz = 0; + nz = 0; do { int32_t zz = nz+1; if (zz == nn) zz = 0;