Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2015, 10:54:34 PM (8 years ago)
Author:
landauf
Message:

replace '0' by 'nullptr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/worldentities/pawns/SpaceShip.cc

    r10765 r10768  
    494494            Camera* camera = this->getCamera();
    495495            //Shaking Camera effect
    496             if (camera != 0)
     496            if (camera != nullptr)
    497497                camera->setOrientation(Vector3::UNIT_X, angle);
    498498
     
    526526        {
    527527            Camera *camera = this->getCamera();
    528             if (camera == 0)
     528            if (camera == nullptr)
    529529            {
    530530                orxout(internal_warning) << "Failed to reset camera!" << endl;
Note: See TracChangeset for help on using the changeset viewer.