mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
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:
parent
6982133004
commit
e87a8b0c3c
2 changed files with 11 additions and 2 deletions
|
@ -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.";
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue