Changeset 9757 in orxonox.OLD for branches/new_class_id/src/world_entities/weapons/weapon_manager.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_manager.cc
r9755 r9757 298 298 { 299 299 this->parentNode->addChild(weapon); 300 if (this->parentEntity->isA(Playable:: classID()))300 if (this->parentEntity->isA(Playable::staticClassID())) 301 301 dynamic_cast<Playable*>(this->parentEntity)->weaponConfigChanged(); 302 302 weapon->setDefaultTarget(this->crosshair); … … 468 468 else 469 469 this->currentSlotConfig[i].position.deactivateNode(); 470 if (this->parentEntity != NULL && this->parentEntity->isA(Playable:: classID()))470 if (this->parentEntity != NULL && this->parentEntity->isA(Playable::staticClassID())) 471 471 dynamic_cast<Playable*>(this->parentEntity)->weaponConfigChanged(); 472 472 }
Note: See TracChangeset
for help on using the changeset viewer.