Restore CurAmmoType check as well, that was removed in
r8f317ba10675 when trying to fix aiming during alt attack.
This probably fixes
bug #657
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}