# HG changeset patch # User sheepluva # Date 1319993779 -3600 # Node ID 9777d802be1a943c8f298ded46ea4473af8280b2 # Parent 27297c421bbcdf7031cd4b26385778867838f226 whoops, I'm a nerd diff -r 27297c421bbc -r 9777d802be1a QTfrontend/ui/widget/bgwidget.cpp --- a/QTfrontend/ui/widget/bgwidget.cpp Sun Oct 30 17:31:53 2011 +0100 +++ b/QTfrontend/ui/widget/bgwidget.cpp Sun Oct 30 17:56:19 2011 +0100 @@ -58,7 +58,7 @@ } else { - fY = (-iSpriteWidth - fX) * (fYMov / fXMov); + fY = qrand() % wParent->height(); fX = -iSpriteWidth; }