Merge branch 'master' of github.com:STJr/SRB2 into sdl2

This commit is contained in:
Alam Ed Arias 2014-03-28 11:59:57 -04:00
commit a80d925daf
1 changed files with 6 additions and 0 deletions

View File

@ -2390,6 +2390,12 @@ void R_InitSkins(void)
skin->spritedef.numframes = sprites[SPR_PLAY].numframes;
skin->spritedef.spriteframes = sprites[SPR_PLAY].spriteframes;
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)