Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2008, 6:18:41 PM (16 years ago)
Author:
rgrieder
Message:

Changed all C-Style casts with C++ casts that I was able to find with a regex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/controllers/ArtificialController.cc

    r2493 r2506  
    8888        {
    8989//            if (it->getTeamNr() != this->getTeamNr())
    90             if ((ControllableEntity*)(*it) != this->getControllableEntity())
     90            if (static_cast<ControllableEntity*>(*it) != this->getControllableEntity())
    9191            {
    9292                float speed = this->getControllableEntity()->getVelocity().length();
Note: See TracChangeset for help on using the changeset viewer.