From f35ae98e13c65c11fbdae5b2d891170f8e85a067 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 21 May 2023 08:11:44 +0200 Subject: [PATCH] - remove unused variable. --- source/games/sw/src/jsector.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/games/sw/src/jsector.cpp b/source/games/sw/src/jsector.cpp index 874808a19..ca2e18719 100644 --- a/source/games/sw/src/jsector.cpp +++ b/source/games/sw/src/jsector.cpp @@ -739,15 +739,9 @@ void DoAutoSize(tspritetype* tspr) } // Rotation angles for sprites -short rotang = 0; void JAnalyzeSprites(tspritetype* tspr) { - rotang += 4; - if (rotang > 2047) - rotang = 0; - - // Take care of autosizing DoAutoSize(tspr);