mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
fix loading VILE\* sprite lump files from PK3 directories (#2136)
Fixes #2131
This commit is contained in:
parent
866f5d8dd3
commit
a2606a1677
@ -136,6 +136,11 @@ void R_InitSpritesRes(void)
|
|||||||
static void R_InstallSpriteLump(int lump, unsigned frame,
|
static void R_InstallSpriteLump(int lump, unsigned frame,
|
||||||
unsigned rotation, boolean flipped)
|
unsigned rotation, boolean flipped)
|
||||||
{
|
{
|
||||||
|
if (frame == '^' - 'A')
|
||||||
|
{
|
||||||
|
frame = '\\' - 'A';
|
||||||
|
}
|
||||||
|
|
||||||
if (frame >= MAX_SPRITE_FRAMES || rotation > 8)
|
if (frame >= MAX_SPRITE_FRAMES || rotation > 8)
|
||||||
I_Error("R_InstallSpriteLump: Bad frame characters in lump %i", lump);
|
I_Error("R_InstallSpriteLump: Bad frame characters in lump %i", lump);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user