Changeset 6142 in orxonox.OLD for trunk/src/world_entities/weapons/bomb.cc
- Timestamp:
- Dec 16, 2005, 7:13:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/bomb.cc
r5994 r6142 174 174 void Bomb::activate() 175 175 { 176 State::getWorldEntityList()->add(this);177 176 178 177 } … … 180 179 void Bomb::deactivate() 181 180 { 182 State::getWorldEntityList()->remove(this);181 this->toList(OM_DEAD); 183 182 this->lifeCycle = 0.0f; 184 183 Bomb::fastFactory->kill(this);
Note: See TracChangeset
for help on using the changeset viewer.