Changeset 6142 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc
- Timestamp:
- Dec 16, 2005, 7:13:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r6054 r6142 192 192 { 193 193 if (likely (this->projectileFactory != NULL)) 194 return dynamic_cast<Projectile*>(this->projectileFactory->resurrect()); 194 { 195 Projectile* pj = dynamic_cast<Projectile*>(this->projectileFactory->resurrect()); 196 pj->toList((OM_LIST)(this->getOMListNumber()+1)); 197 return pj; 198 } 195 199 else 196 200 {
Note: See TracChangeset
for help on using the changeset viewer.