mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
png fix yes so cool
This commit is contained in:
parent
41ff5ef79c
commit
2740711092
1 changed files with 3 additions and 3 deletions
|
|
@ -248,7 +248,7 @@ void R_CacheRotSprite(spritenum_t sprnum, UINT8 frame, spriteinfo_t *sprinfo, sp
|
||||||
if (!R_CheckIfPatch(lump))
|
if (!R_CheckIfPatch(lump))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
patch = (patch_t *)W_CacheLumpNum(lump, PU_CACHE);
|
patch = (patch_t *)W_CachePatchNum(lump, PU_STATIC);
|
||||||
width = patch->width;
|
width = patch->width;
|
||||||
height = patch->height;
|
height = patch->height;
|
||||||
|
|
||||||
|
|
@ -1733,7 +1733,7 @@ static void R_ProjectSprite(mobj_t *thing)
|
||||||
vis->patch = rotsprite;
|
vis->patch = rotsprite;
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
vis->patch = W_CacheLumpNum(sprframe->lumppat[rot], PU_CACHE);
|
vis->patch = W_CachePatchNum(sprframe->lumppat[rot], PU_CACHE);
|
||||||
|
|
||||||
//
|
//
|
||||||
// determine the colormap (lightlevel & special effects)
|
// determine the colormap (lightlevel & special effects)
|
||||||
|
|
@ -1925,7 +1925,7 @@ static void R_ProjectPrecipitationSprite(precipmobj_t *thing)
|
||||||
|
|
||||||
//Fab: lumppat is the lump number of the patch to use, this is different
|
//Fab: lumppat is the lump number of the patch to use, this is different
|
||||||
// than lumpid for sprites-in-pwad : the graphics are patched
|
// than lumpid for sprites-in-pwad : the graphics are patched
|
||||||
vis->patch = W_CacheLumpNum(sprframe->lumppat[0], PU_CACHE);
|
vis->patch = W_CachePatchNum(sprframe->lumppat[0], PU_CACHE);
|
||||||
|
|
||||||
// specific translucency
|
// specific translucency
|
||||||
if (thing->frame & FF_TRANSMASK)
|
if (thing->frame & FF_TRANSMASK)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue