Fix a long-standing bug with ammo due to gstMoving being set on gears generically, causing an incorrect ammo type to be set. This caused crashes and incorrect ammo types.
#ifndef EDITOR_H
#define EDITOR_H
#include <QtGui/QMainWindow>
namespace Ui
{
class editor;
}
class QCheckBox;
class editor : public QMainWindow
{
Q_OBJECT
public:
editor(QWidget *parent = 0);
~editor();
private:
Ui::editor *ui;
QList<QCheckBox *> cbFlags;
void load(const QString & fileName);
void reset();
private slots:
void on_actionLoad_triggered();
};
#endif // EDITOR_H