Fix minigun bullets sometimes failing to hit when shooting same thing twice in row
alfadur says: “the stale collision cache is searched in, so if you shoot at
same thing twice in a row, chances are it woudln't get hit”
#include <QLabel>
#include <QRect>
#include <QList>
#include <QMouseEvent>
class PixLabel : public QLabel
{
Q_OBJECT
public:
PixLabel();
QList<QRect> rects;
public slots:
void AddRect();
private:
void paintEvent(QPaintEvent * event);
void mousePressEvent(QMouseEvent * e);
};