Fixed flat rotation (0° is east in SRB2)

This commit is contained in:
MascaraSnake 2016-01-10 17:25:09 +01:00
parent 4f6f748b31
commit 6c739c1a07

View file

@ -977,7 +977,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
s.Fields.BeforeFieldsChange(); s.Fields.BeforeFieldsChange();
if (rotate) if (rotate)
{ {
float rotation = l.AngleDeg; float rotation = (l.AngleDeg + 90) % 360;
if (!rotateonlyceiling) if (!rotateonlyceiling)
{ {