summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/WeaponGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/WeaponGroup.cpp')
-rw-r--r--StarsEx/WeaponGroup.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/StarsEx/WeaponGroup.cpp b/StarsEx/WeaponGroup.cpp
index 70fe18f..98ba0b8 100644
--- a/StarsEx/WeaponGroup.cpp
+++ b/StarsEx/WeaponGroup.cpp
@@ -12,7 +12,15 @@
*/
#include "WeaponGroup.h"
-#include "Ship.h"
+
+#include <cstdint>
+
+#include <List.h>
+
+#include "SimObject.h"
+#include "System.h"
+#include "Weapon.h"
+
// +----------------------------------------------------------------------+
@@ -159,7 +167,7 @@ WeaponGroup::GetSelected() const
}
bool
-WeaponGroup::CanTarget(DWORD tgt_class) const
+WeaponGroup::CanTarget(std::uint32_t tgt_class) const
{
if (selected >= 0 && selected < weapons.size())
return weapons[selected]->CanTarget(tgt_class);