mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 21:00:56 +00:00
Point Thing at Cursor: check for a thing's fixedrotation rather than its category's arrow setting (#957)
This commit is contained in:
parent
ed93c4d69b
commit
01bcdc01b2
1 changed files with 2 additions and 2 deletions
|
@ -1474,7 +1474,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
foreach(Thing t in selected)
|
||||
{
|
||||
ThingTypeInfo info = General.Map.Data.GetThingInfo(t.Type);
|
||||
if(info == null || info.Category == null || info.Category.Arrow == 0)
|
||||
if(info == null || info.FixedRotation == true)
|
||||
continue;
|
||||
|
||||
int newangle = Angle2D.RealToDoom(Vector2D.GetAngle(mousemappos, t.Position) + Angle2D.PI);
|
||||
|
@ -1488,7 +1488,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
foreach(Thing t in selected)
|
||||
{
|
||||
ThingTypeInfo info = General.Map.Data.GetThingInfo(t.Type);
|
||||
if(info == null || info.Category == null || info.Category.Arrow == 0)
|
||||
if(info == null || info.FixedRotation == true)
|
||||
continue;
|
||||
|
||||
int newangle = Angle2D.RealToDoom(Vector2D.GetAngle(mousemappos, t.Position));
|
||||
|
|
Loading…
Reference in a new issue