[Orxonox-commit 1433] r6151 - code/branches/presentation2/src/orxonox/weaponsystem
dafrick at orxonox.net
dafrick at orxonox.net
Wed Nov 25 17:09:46 CET 2009
Author: dafrick
Date: 2009-11-25 17:09:46 +0100 (Wed, 25 Nov 2009)
New Revision: 6151
Modified:
code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc
Log:
Added default values in WeaponMode.
Modified: code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc
===================================================================
--- code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc 2009-11-25 15:52:37 UTC (rev 6150)
+++ code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc 2009-11-25 16:09:46 UTC (rev 6151)
@@ -62,7 +62,10 @@
this->reloadTimer_.stopTimer();
this->damage_ = 0;
+
this->muzzleOffset_ = Vector3::ZERO;
+ this->muzzlePosition_ = Vector3::ZERO;
+ this->muzzleOrientation_ = Quaternion::ZERO;
}
WeaponMode::~WeaponMode()
More information about the Orxonox-commit
mailing list