Changeset 4948 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/weapon.cc
- Timestamp:
- Jul 23, 2005, 11:50:51 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/weapon.cc
r4947 r4948 25 25 #include "class_list.h" 26 26 #include "load_param.h" 27 #include "state.h" 28 #include "sound_engine.h" 29 #include "animation3d.h" 27 30 #include "vector.h" 28 #include "list.h"29 #include "state.h"30 #include "animation3d.h"31 #include "sound_engine.h"32 31 33 32 //////////////////// … … 108 107 if (this->projectileFactory == NULL) 109 108 return false; 109 else 110 { 111 // grabbing Parameters from the Projectile to have them at hand here. 112 this->projectileFactory->prepare(1); 113 Projectile* pj = dynamic_cast<Projectile*>(this->projectileFactory->resurrect()); 114 this->minCharge = pj->getEnergyMin(); 115 this->maxCharge = pj->getEnergyMax(); 116 this->chargeable = pj->isChageable(); 117 } 110 118 }; 111 119
Note: See TracChangeset
for help on using the changeset viewer.