src/Weapon.cc
changeset 338 fe2b3c6fff54
parent 305 56799ec8d7be
--- a/src/Weapon.cc	Tue Dec 09 00:45:41 2008 +0000
+++ b/src/Weapon.cc	Tue Dec 09 00:58:49 2008 +0000
@@ -1,7 +1,7 @@
 #include "Weapon.hh"
 
 Weapon::Weapon(WeaponID id, TickCount expire, float velocity, float recoil, int damage, float explosionRadius, float radius,
-        TimeMS reloadTime, std::string name, float bounce) : 
+        TimeMS reloadTime, std::string name, float bounce, float mass) : 
     id(id), 
     name(name), 
     velocity(velocity), 
@@ -12,7 +12,8 @@
     recoil(recoil), 
     expire(expire), 
     reloadTimer(0), 
-    bounce(bounce)
+    bounce(bounce),
+    mass(mass)
 {
 
 }