mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
Polymost: fix 'zadd' DEF token handling. (Polymer has it right.)
git-svn-id: https://svn.eduke32.com/eduke32@3819 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a02ab83319
commit
e71bc9d19d
1 changed files with 1 additions and 2 deletions
|
@ -2064,16 +2064,15 @@ static int32_t md3draw(md3model_t *m, const spritetype *tspr)
|
|||
m0.x = m->scale * g; m1.x = m->scale *f;
|
||||
m0.y = m->scale * g; m1.y = m->scale *f;
|
||||
m0.z = m->scale * g; m1.z = m->scale *f;
|
||||
a0.x = a0.y = 0; a0.z = ((globalorientation&8)?-m->zadd:m->zadd)*m->scale;
|
||||
}
|
||||
else
|
||||
{
|
||||
m0.x = (1.0/64.0) * m->scale * g; m1.x = (1.0/64.0) * m->scale *f;
|
||||
m0.y = (1.0/64.0) * m->scale * g; m1.y = (1.0/64.0) * m->scale *f;
|
||||
m0.z = (1.0/64.0) * m->scale * g; m1.z = (1.0/64.0) * m->scale *f;
|
||||
a0.x = a0.y = 0; a0.z = ((globalorientation&8)?-m->zadd:m->zadd)*m->scale;
|
||||
}
|
||||
|
||||
a0.x = a0.y = 0; a0.z = m->zadd*m->scale;
|
||||
|
||||
// Parkar: Moved up to be able to use k0 for the y-flipping code
|
||||
k0 = (float)tspr->z;
|
||||
|
|
Loading…
Reference in a new issue