Changeset 10768 for code/branches/cpp11_v2/src/modules/objects/controllers
- Timestamp:
- Nov 6, 2015, 10:54:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/objects/controllers/TurretController.cc
r10622 r10768 81 81 { 82 82 this->forgetTarget(); 83 turret->setTarget( 0);83 turret->setTarget(nullptr); 84 84 } 85 85 … … 99 99 float minScore = FLT_MAX; 100 100 float tempScore; 101 Pawn* minScorePawn = 0;101 Pawn* minScorePawn = nullptr; 102 102 103 103 for (ObjectList<Pawn>::iterator it = ObjectList<Pawn>::begin(); it != ObjectList<Pawn>::end(); ++it)
Note: See TracChangeset
for help on using the changeset viewer.