Changeset 9757 in orxonox.OLD for branches/new_class_id/src/world_entities/weapons/weapon.cc
- Timestamp:
- Sep 18, 2006, 10:06:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/weapons/weapon.cc
r9723 r9757 77 77 if (createdObject != NULL) 78 78 { 79 if (createdObject->isA(Weapon:: classID()))79 if (createdObject->isA(Weapon::staticClassID())) 80 80 return dynamic_cast<Weapon*>(createdObject); 81 81 else … … 93 93 if (createdObject != NULL) 94 94 { 95 if (createdObject->isA(Weapon:: classID()))95 if (createdObject->isA(Weapon::staticClassID())) 96 96 return dynamic_cast<Weapon*>(createdObject); 97 97 else … … 131 131 this->defaultTarget = NULL; //< Nothing is Targeted by default. 132 132 133 this->projectile = NullClass:: classID(); //< No Projectile Class is Connected to this weapon133 this->projectile = NullClass::staticClassID(); //< No Projectile Class is Connected to this weapon 134 134 this->projectileFactory = NULL; //< No Factory generating Projectiles is selected. 135 135
Note: See TracChangeset
for help on using the changeset viewer.