Fixed, Visual mode: in some cases "Raise Floor/Ceiling to adjacent sector" was not working properly when used on things.

This commit is contained in:
MaxED 2015-01-30 14:16:47 +00:00
parent e687642cca
commit 666b3486e9

View file

@ -2172,7 +2172,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
}
else
{
vt.OnMove(new Vector3D(vt.Thing.Position, vt.Thing.Sector.CeilHeight - vt.Info.Height));
vt.OnMove(new Vector3D(vt.Thing.Position, vt.Thing.Sector.CeilHeight - vt.Thing.Sector.FloorHeight - vt.Info.Height));
}
}
}