Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 15, 2008, 11:19:54 AM (16 years ago)
Author:
rgrieder
Message:

Replaced macro "Class" with "GetClassIdentifier" to avoid future collision because the macro is very short.
"ID" was already replaced with the introduction of CEGUI which used ID somewhere as non-macro. The compiler error was completely misleading though…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/Projectile.cc

    r1747 r1787  
    101101                {
    102102                    // hit
    103                     if (it->isA(Class(SpaceShipAI)))
     103                    if (it->isA(GetClassIdentifier(SpaceShipAI)))
    104104                        ((SpaceShipAI*)(*it))->damage(this->damage_);
    105105                    ParticleSpawner* explosion = new ParticleSpawner(this->explosionTemplateName_, LODParticle::low, 2.0);
Note: See TracChangeset for help on using the changeset viewer.