This should make bee and other targetted things behave more reliably in infinite attack mode. Blocks switching of weps if a target point is active.
#include <QApplication>
#include "mainform.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyWindow *mainWin = new MyWindow;
mainWin->show();
return app.exec();
}