mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
This commit is contained in:
commit
652f3395a9
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