mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
Fixed: all the old magic in SafeDistanceToSq is now only working for non-UDMF maps
This commit is contained in:
parent
8dbe5f7a7b
commit
983dea1b8a
3 changed files with 6 additions and 6 deletions
|
@ -986,11 +986,11 @@ namespace CodeImp.DoomBuilder.Map
|
|||
// Limit intersection offset to the line
|
||||
if (bounded)
|
||||
{
|
||||
if (lengthinv > 1)
|
||||
if (General.Map.UDMF)
|
||||
{
|
||||
u = Math.Max(0f, Math.Min(1f, u)); // [ZZ] todo: understand why this worked
|
||||
u = Math.Max(0f, Math.Min(1f, u));
|
||||
}
|
||||
else
|
||||
else // restore old way for visplane explorer (which doesn't work for UDMF anyway)
|
||||
{
|
||||
u = Math.Max(lengthinv, Math.Min(1f - lengthinv, u));
|
||||
}
|
||||
|
|
|
@ -30,6 +30,6 @@ using CodeImp.DoomBuilder;
|
|||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.3.0.2964")]
|
||||
[assembly: AssemblyVersion("2.3.0.2966")]
|
||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
||||
[assembly: AssemblyHash("b80c8fe")]
|
||||
[assembly: AssemblyHash("8dbe5f7")]
|
||||
|
|
|
@ -29,5 +29,5 @@ using System.Resources;
|
|||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.3.0.2964")]
|
||||
[assembly: AssemblyVersion("2.3.0.2966")]
|
||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
||||
|
|
Loading…
Reference in a new issue