mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-08 10:50:42 +00:00
Merge branch 'public_flatsprite' of git@git.magicalgirl.moe:STJr/SRB2.git into public_flatsprite
This commit is contained in:
commit
672ca12550
1 changed files with 5 additions and 1 deletions
|
@ -148,7 +148,11 @@ static void R_InstallSpriteLump(UINT16 wad, // graphics patch
|
||||||
sprtemp[frame].lumppat[r + rightfactor] = lumppat;
|
sprtemp[frame].lumppat[r + rightfactor] = lumppat;
|
||||||
sprtemp[frame].lumpid[r + rightfactor] = lumpid;
|
sprtemp[frame].lumpid[r + rightfactor] = lumpid;
|
||||||
}
|
}
|
||||||
sprtemp[frame].flip |= (flipped ? (0x0F << rightfactor) : 0); // 00001111 or 11110000 in binary, depending on rotation being ROT_L or ROT_R
|
if (flipped)
|
||||||
|
sprtemp[frame].flip |= (0x0F<<rightfactor); // 00001111 or 11110000 in binary, depending on rotation being ROT_L or ROT_R
|
||||||
|
else
|
||||||
|
sprtemp[frame].flip &= ~(0x0F<<rightfactor); // ditto
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue