diff options
Diffstat (limited to 'src/wp_assaultrifle.cpp')
-rw-r--r-- | src/wp_assaultrifle.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wp_assaultrifle.cpp b/src/wp_assaultrifle.cpp index 0be3d5b..f985d78 100644 --- a/src/wp_assaultrifle.cpp +++ b/src/wp_assaultrifle.cpp @@ -7,7 +7,7 @@ #include "entity.hpp" wp_assaultrifle::wp_assaultrifle(const char* s, const char* r) - : AWeapon(300.0f, 1, 30, 0.0, s, r, "ar") {} + : AWeapon(300.0f, 1, 30, 0.0, s, r, "ar", false) {} int wp_assaultrifle::bang(std::vector<Entity>* enemies, Entity* player) { if (barrel == 0) { @@ -66,3 +66,7 @@ int wp_assaultrifle::bang(std::vector<Entity>* enemies, Entity* player) { return (0); } } + +Projectile const& wp_assaultrifle::getProjectile() const { + return (projectile); +} |