- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/overlays/hud/HUDEnemyShieldBar.cc
r11052 r11071 41 41 42 42 this->setConfigValues(); 43 this->owner_ = NULL;43 this->owner_ = nullptr; 44 44 } 45 45 … … 62 62 void HUDEnemyShieldBar::updateTarget() 63 63 { 64 Pawn* pawn = NULL;64 Pawn* pawn = nullptr; 65 65 if (this->owner_ && this->useEnemyBar_) 66 66 { … … 73 73 // Don't show the EnemyShieldBar if the pawn is invisible 74 74 if (pawn && !pawn->isVisible()) 75 pawn = NULL;75 pawn = nullptr; 76 76 } 77 77 // Set the pawn as owner of the EnemyShieldBar 78 78 this->setShieldBarOwner(pawn); 79 this->setVisible(pawn != NULL);79 this->setVisible(pawn != nullptr); 80 80 } 81 81
Note: See TracChangeset
for help on using the changeset viewer.