Make GearsNear and CheckGearNear check gears across wrap world edge
This fixes hog detection of mine, sticky mine, resurrector, seduction and crate across the world edge.
Air mine is only partially fixed.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_pbLoad_clicked();
void on_pbSave_clicked();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H