mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
m32 fixery. random z position of inserted sprites is bad!
git-svn-id: https://svn.eduke32.com/eduke32@1811 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4f9699e03b
commit
12748c894f
1 changed files with 1 additions and 0 deletions
|
@ -1111,6 +1111,7 @@ void editinput(void)
|
|||
fz = getflorzofslope(hitinfo.hitsect, hitinfo.pos.x, hitinfo.pos.y);
|
||||
|
||||
j = (tilesizy[sprite[i].picnum]*sprite[i].yrepeat)<<1;
|
||||
sprite[i].z = hitinfo.pos.z;
|
||||
if ((sprite[i].cstat&128) == 0)
|
||||
bclamp(&sprite[i].z, cz+(j<<1), fz);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue