mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +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 //////////
|
////////// Sprites //////////
|
||||||
|
|
||||||
|
if (dasprclipmask)
|
||||||
for (bssize_t i=0; i<clipsectnum; i++)
|
for (bssize_t i=0; i<clipsectnum; i++)
|
||||||
{
|
{
|
||||||
if (dasprclipmask==0)
|
|
||||||
break;
|
|
||||||
|
|
||||||
for (bssize_t j=headspritesect[clipsectorlist[i]]; j>=0; j=nextspritesect[j])
|
for (bssize_t j=headspritesect[clipsectorlist[i]]; j>=0; j=nextspritesect[j])
|
||||||
{
|
{
|
||||||
const int32_t cstat = sprite[j].cstat;
|
const int32_t cstat = sprite[j].cstat;
|
||||||
|
|
Loading…
Reference in a new issue