mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-01 08:41:49 +00:00
Merge branch 'master' of github.com:STJr/SRB2 into sdl2
This commit is contained in:
commit
a80d925daf
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