Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

replace '0' by 'nullptr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/modules/objects/controllers/TurretController.cc

    r10622 r10768  
    8181        {
    8282            this->forgetTarget();
    83             turret->setTarget(0);
     83            turret->setTarget(nullptr);
    8484        }
    8585
     
    9999        float minScore = FLT_MAX;
    100100        float tempScore;
    101         Pawn* minScorePawn = 0;
     101        Pawn* minScorePawn = nullptr;
    102102
    103103        for (ObjectList<Pawn>::iterator it = ObjectList<Pawn>::begin(); it != ObjectList<Pawn>::end(); ++it)
Note: See TracChangeset for help on using the changeset viewer.