Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/weapon.h')
-rw-r--r--src/game/base/weapon.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/base/weapon.h b/src/game/base/weapon.h
index a6a5731..857b3cd 100644
--- a/src/game/base/weapon.h
+++ b/src/game/base/weapon.h
@@ -88,17 +88,17 @@ public:
return weapon_projectile_soundname;
}
- inline const model::Weapon::Type slot_type() const
+ inline const model::Slot::Type slot_type() const
{
switch (weapon_subtype) {
case Cannon:
- return model::Weapon::Cannon;
+ return model::Slot::Cannon;
break;
case Turret:
- return model::Weapon::Turret;
+ return model::Slot::Turret;
break;
default:
- return model::Weapon::Unmountable;
+ return model::Slot::None;
}
}