QTfrontend/ui/widget/bgwidget.cpp
changeset 6243 9777d802be1a
parent 6242 27297c421bbc
child 6574 ec059b55aa72
equal deleted inserted replaced
6242:27297c421bbc 6243:9777d802be1a
    56     {
    56     {
    57         fY = -1 * iSpriteHeight;
    57         fY = -1 * iSpriteHeight;
    58     }
    58     }
    59     else
    59     else
    60     {
    60     {
    61         fY = (-iSpriteWidth - fX) * (fYMov / fXMov);
    61         fY = qrand() % wParent->height();
    62         fX = -iSpriteWidth;
    62         fX = -iSpriteWidth;
    63     }
    63     }
    64 
    64 
    65     // random initial angle
    65     // random initial angle
    66     iAngle = qrand() % 360;
    66     iAngle = qrand() % 360;