Fixed, Visual mode: 3d floor outer sides were not updated after toggling rendering effects off, then on.

Updated ZDoom_DECORATE.cfg (GetAngle function).
This commit is contained in:
MaxED 2016-04-27 10:10:57 +00:00 committed by spherallic
parent 6982133004
commit e87a8b0c3c
2 changed files with 11 additions and 2 deletions

View file

@ -406,7 +406,8 @@ keywords
cosh = "cosh(x)\nTrigonometry function, x must be in radians.";
tanh = "tanh(x)\nTrigonometry function, x must be in radians.";
atan2 = "atan2(y, x)\nTrigonometry function, Returns an angle in degrees.";
VectorAngle = "VectorAngle(x, y)\nTrigonometry function.";
VectorAngle = "VectorAngle(x, y)\nTrigonometry function.";
GetAngle = "GetAngle(bool relative[, int ptr_target = AAPTR_TARGET])\nGets the angle in degrees (normalized to -180..180)";
//Randum number functions
random = "int random[identifier](min, max)\nReturns a random integer value between min and max.";
random2 = "int random2[identifier](mask)\nReturns a random integer value between -mask and +mask.";

View file

@ -158,7 +158,15 @@ namespace CodeImp.DoomBuilder.BuilderModes
if(mode.VisualSectorExists(sd.Other.Sector))
{
SectorData other = mode.GetSectorDataEx(sd.Other.Sector);
if(other != null) other.Reset(false);
if(other != null)
{
other.Reset(false);
}
else
{
BaseVisualSector vs = (BaseVisualSector)mode.GetVisualSector(sd.Other.Sector);
vs.Changed = true;
}
}
}
}