mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Proof of concept fix for Sonic not being MD2-able
This commit is contained in:
parent
32de698f5e
commit
544682f140
1 changed files with 6 additions and 0 deletions
|
@ -2390,6 +2390,12 @@ void R_InitSkins(void)
|
||||||
skin->spritedef.numframes = sprites[SPR_PLAY].numframes;
|
skin->spritedef.numframes = sprites[SPR_PLAY].numframes;
|
||||||
skin->spritedef.spriteframes = sprites[SPR_PLAY].spriteframes;
|
skin->spritedef.spriteframes = sprites[SPR_PLAY].spriteframes;
|
||||||
ST_LoadFaceGraphics(skin->face, skin->superface, 0);
|
ST_LoadFaceGraphics(skin->face, skin->superface, 0);
|
||||||
|
|
||||||
|
//MD2 for sonic doesn't want to load in Linux.
|
||||||
|
#ifdef HWRENDER
|
||||||
|
if (rendermode == render_opengl)
|
||||||
|
HWR_AddPlayerMD2(0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns true if the skin name is found (loaded from pwad)
|
// returns true if the skin name is found (loaded from pwad)
|
||||||
|
|
Loading…
Reference in a new issue