Changeset 10114 in orxonox.OLD for trunk/src/world_entities/power_ups/laser_power_up.cc
- Timestamp:
- Dec 19, 2006, 11:55:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/laser_power_up.cc
r9869 r10114 24 24 25 25 26 #include "class_id_DEPRECATED.h" 27 ObjectListDefinition ID(LaserPowerUp, CL_LASER_POWER_UP);26 27 ObjectListDefinition(LaserPowerUp); 28 28 CREATE_FACTORY(LaserPowerUp); 29 29 … … 80 80 { 81 81 // PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassCName(), entity->getClassCName(), location.x, location.y, location.z); 82 if (entity->isA(CL_PLAYABLE))82 if (entity->isA(Playable::staticClassID())) 83 83 this->toList(OM_DEAD); 84 84 }
Note: See TracChangeset
for help on using the changeset viewer.