mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 10:11:12 +00:00
Ported this fix from internal
This commit is contained in:
parent
5a7458be98
commit
b66fc2f5ac
1 changed files with 6 additions and 1 deletions
|
@ -149,7 +149,12 @@ 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