mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Hoist comparison of const variable outside of loop in getzrange()
git-svn-id: https://svn.eduke32.com/eduke32@7427 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
95c9dba9df
commit
3220b1e4f9
1 changed files with 1 additions and 3 deletions
|
@ -1674,11 +1674,9 @@ restart_grand:
|
|||
|
||||
////////// Sprites //////////
|
||||
|
||||
if (dasprclipmask)
|
||||
for (bssize_t i=0; i<clipsectnum; i++)
|
||||
{
|
||||
if (dasprclipmask==0)
|
||||
break;
|
||||
|
||||
for (bssize_t j=headspritesect[clipsectorlist[i]]; j>=0; j=nextspritesect[j])
|
||||
{
|
||||
const int32_t cstat = sprite[j].cstat;
|
||||
|
|
Loading…
Reference in a new issue