From 544682f140e44a08cfbe5fe80f6998cb04bba118 Mon Sep 17 00:00:00 2001 From: ilag11111 Date: Thu, 27 Mar 2014 18:04:03 -0700 Subject: [PATCH] Proof of concept fix for Sonic not being MD2-able --- src/r_things.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/r_things.c b/src/r_things.c index afbda8da5..be1eb3d7d 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -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)