mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 05:41:02 +00:00
Small Mixed D&C fix
This commit is contained in:
parent
4806dadd88
commit
2f930f1262
1 changed files with 5 additions and 2 deletions
|
@ -1924,8 +1924,8 @@ static void DrawModelEx(model_t *model, INT32 frameIndex, INT32 duration, INT32
|
||||||
GLfloat diffuse[4];
|
GLfloat diffuse[4];
|
||||||
|
|
||||||
float pol = 0.0f;
|
float pol = 0.0f;
|
||||||
scale *= 0.5f;
|
|
||||||
float scalex = scale, scaley = scale, scalez = scale;
|
float scalex, scaley, scalez;
|
||||||
|
|
||||||
boolean useTinyFrames;
|
boolean useTinyFrames;
|
||||||
|
|
||||||
|
@ -1936,6 +1936,9 @@ static void DrawModelEx(model_t *model, INT32 frameIndex, INT32 duration, INT32
|
||||||
GLfloat LightPos[] = {0.0f, 1.0f, 0.0f, 0.0f};
|
GLfloat LightPos[] = {0.0f, 1.0f, 0.0f, 0.0f};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
scale *= 0.5f;
|
||||||
|
scalex = scaley = scalez = scale;
|
||||||
|
|
||||||
if (duration != 0 && duration != -1 && tics != -1) // don't interpolate if instantaneous or infinite in length
|
if (duration != 0 && duration != -1 && tics != -1) // don't interpolate if instantaneous or infinite in length
|
||||||
{
|
{
|
||||||
UINT32 newtime = (duration - tics); // + 1;
|
UINT32 newtime = (duration - tics); // + 1;
|
||||||
|
|
Loading…
Reference in a new issue