Simplify attach calculation on Paint.cpp

This commit is contained in:
Tulio Leao 2019-12-09 17:19:45 -03:00
parent 5b43f19708
commit 2ddde8a344
1 changed files with 1 additions and 3 deletions

View File

@ -890,9 +890,7 @@ paint_struct* sub_98197C(
session->LastRootPS = ps;
CoordsXY attach = { ps->bounds.x, ps->bounds.y };
attach = attach.Rotate(session->CurrentRotation);
auto attach = CoordsXY{ ps->bounds.x, ps->bounds.y }.Rotate(session->CurrentRotation);
switch (session->CurrentRotation)
{
case 0: