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/Model.cc

    r1769 r1787  
    8585        COUT(4) << "Loader (Model.cc): Created model" << std::endl;
    8686      }
    87       if(this->isExactlyA(Class(Model)))
     87      if(this->isExactlyA(GetClassIdentifier(Model)))
    8888        setObjectFrequency(300); //sync all 10 seconds (this only applies to asteroids and other isExactlyA(Model)
    8989      return true;
Note: See TracChangeset for help on using the changeset viewer.