Update hashes, fix floating item spriteroll
This commit is contained in:
parent
4360613be7
commit
3d942226a5
4 changed files with 10 additions and 4 deletions
|
|
@ -93,8 +93,8 @@
|
|||
#define ASSET_HASH_TEXTURES_KART 0xb4211b2f32b6a291
|
||||
#define ASSET_HASH_CHARS_KART 0x1e68a3e01aa5c68b
|
||||
#define ASSET_HASH_MAPS_KART 0x38558ed00da41ce9
|
||||
#define ASSET_HASH_MAIN_PK3 0xb4bbf7553c13b0c0
|
||||
#define ASSET_HASH_MAPPATCH_PK3 0x98b86f9771019f5f
|
||||
#define ASSET_HASH_MAIN_PK3 0x45e00f9adfbf9f75
|
||||
#define ASSET_HASH_MAPPATCH_PK3 0xbbc2c6a7a685da3a
|
||||
#define ASSET_HASH_BONUSCHARS_KART 0x60e6f13d822a7461
|
||||
#ifdef USE_PATCH_FILE
|
||||
#define ASSET_HASH_PATCH_PK3 0x0000000000000000
|
||||
|
|
|
|||
|
|
@ -4846,7 +4846,7 @@ static void HWR_ProjectSprite(mobj_t *thing)
|
|||
{
|
||||
sprdef = &kartitems[thing->threshold > 0 && thing->threshold < numkartitems ? thing->threshold : 0].spritedef;
|
||||
#ifdef ROTSPRITE
|
||||
sprinfo = &spriteinfo[SPR_UNKN];
|
||||
sprinfo = &spriteinfo[SPR_ITEM];
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -324,6 +324,12 @@ patch_t *Patch_GetRotatedSprite(
|
|||
//BP: we cannot use special tric in hardware mode because feet in ground caused by z-buffer
|
||||
if (adjustfeet)
|
||||
((patch_t *)rotsprite->patches[idx])->topoffset += FEETADJUST>>FRACBITS;
|
||||
|
||||
if (sprinfo == &spriteinfo[SPR_ITEM]) // easier than funneling this into dorotation...
|
||||
{
|
||||
((patch_t *)rotsprite->patches[idx])->leftoffset += 25;
|
||||
((patch_t *)rotsprite->patches[idx])->topoffset += 50;
|
||||
}
|
||||
}
|
||||
|
||||
return rotsprite->patches[idx];
|
||||
|
|
|
|||
|
|
@ -1902,7 +1902,7 @@ static void R_ProjectSprite(mobj_t *thing)
|
|||
else if (thing->sprite == SPR_ITEM)
|
||||
{
|
||||
sprdef = &kartitems[thing->threshold > 0 && thing->threshold < numkartitems ? thing->threshold : 0].spritedef;
|
||||
sprinfo = &spriteinfo[SPR_UNKN];
|
||||
sprinfo = &spriteinfo[SPR_ITEM];
|
||||
|
||||
if (frame >= sprdef->numframes) {
|
||||
CONS_Alert(CONS_ERROR, M_GetText("R_ProjectSprite: invalid kartitem sprite frame %zu\n"), frame);
|
||||
|
|
|
|||
Loading…
Reference in a new issue