This commit is contained in:
TurnMeOn committed 2017-12-25 22:05:05 +08:00
1 parent 31702e05db
commit abcb2b9d87
1 file changed
+1 -1
+1 -1
View File
@@ -262,7 +262,7 @@ void Car::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidg
posAni->stop();
break;
}
else if(qAbs(car->getDir()-180)<20&&qAbs(this->getDir()-180)<20&&car->getmPos().y()>this->getmPos().y())
else if(qAbs(car->getDir()-90)<20&&qAbs(this->getDir()-90)<20&&car->getmPos().x()>this->getmPos().x())
{
posAni->stop();
break;