Skip to content

Commit

Permalink
Fix ship turn for custom ship with custom z components (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideRei authored Sep 21, 2024
1 parent e4b70e2 commit 7c83f5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/components/CCMultiMovable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ bool CCMultiMovable::Face(DIR_TYPE dir)

pt.m_x = pMultiThis->GetTopPoint().m_x + componentnew.m_dx;
pt.m_y = pMultiThis->GetTopPoint().m_y + componentnew.m_dy;
pt.m_z = pMultiThis->GetTopPoint().m_z + componentnew.m_dz;
}
}
}
Expand Down

0 comments on commit 7c83f5f

Please sign in to comment.