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:
helixhorned 2011-02-27 23:21:20 +00:00
parent 4f9699e03b
commit 12748c894f

View file

@ -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