Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 18, 2006, 10:06:19 PM (18 years ago)
Author:
bensch
Message:

new_class_id: hups… this was bad naming… confusing too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/weapons/weapon.cc

    r9723 r9757  
    7777  if (createdObject != NULL)
    7878  {
    79     if (createdObject->isA(Weapon::classID()))
     79    if (createdObject->isA(Weapon::staticClassID()))
    8080      return dynamic_cast<Weapon*>(createdObject);
    8181    else
     
    9393  if (createdObject != NULL)
    9494  {
    95     if (createdObject->isA(Weapon::classID()))
     95    if (createdObject->isA(Weapon::staticClassID()))
    9696      return dynamic_cast<Weapon*>(createdObject);
    9797    else
     
    131131  this->defaultTarget = NULL;                      //< Nothing is Targeted by default.
    132132
    133   this->projectile = NullClass::classID();         //< No Projectile Class is Connected to this weapon
     133  this->projectile = NullClass::staticClassID();         //< No Projectile Class is Connected to this weapon
    134134  this->projectileFactory = NULL;                  //< No Factory generating Projectiles is selected.
    135135
Note: See TracChangeset for help on using the changeset viewer.