mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-12 23:54:10 +00:00
Allow Thing angles outside of 0-359 in Find/Replace mode
This commit is contained in:
parent
11a6baf35f
commit
6b930b8e5b
1 changed files with 2 additions and 2 deletions
|
@ -93,10 +93,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
foreach(Thing t in list)
|
foreach(Thing t in list)
|
||||||
{
|
{
|
||||||
// Match?
|
// Match?
|
||||||
if(Angle2D.RealToDoom(t.Angle) == angle)
|
if(t.AngleDoom == angle)
|
||||||
{
|
{
|
||||||
// Replace
|
// Replace
|
||||||
if(replace) t.Rotate(Angle2D.DoomToReal(replaceangle));
|
if(replace) t.Rotate(replaceangle);
|
||||||
|
|
||||||
// Add to list
|
// Add to list
|
||||||
ThingTypeInfo ti = General.Map.Data.GetThingInfo(t.SRB2Type);
|
ThingTypeInfo ti = General.Map.Data.GetThingInfo(t.SRB2Type);
|
||||||
|
|
Loading…
Reference in a new issue