。。。

This commit is contained in:
TurnMeOn committed 2017-12-25 16:31:16 +08:00
1 parent 76280e2025
commit a86daf75ce
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ void Car::setPath(Path *path)
m_target = path->getNext();
m_current = m_target;
m_target.action = Road::none;
this->setPos(m_target.point - QPoint(20, 30));
this->setPos(m_target.point - 0.5*QPoint(M_WID, M_LEN));
this->setRotation(m_target.dir+90);
}