Mass replace NULL --> nullptr

(Except one instance was instead replaced with nil)
This commit is contained in:
2015-09-13 10:50:21 -04:00
parent f1b097a54c
commit 780b413d0c
24 changed files with 92 additions and 92 deletions

View File

@@ -54,16 +54,16 @@ bool handle_action(sf::Event event) {
do_button_action(0,i + 10);
switch(i) {
case 0:
display_pc(current_active_pc,10,NULL);
display_pc(current_active_pc,10,nullptr);
break;
case 1:
display_pc(current_active_pc,11,NULL);
display_pc(current_active_pc,11,nullptr);
break;
case 2:
pick_race_abil(&univ.party[current_active_pc],0);
break;
case 3:
spend_xp(current_active_pc,2,NULL);
spend_xp(current_active_pc,2,nullptr);
break;
case 4:
edit_xp(&univ.party[current_active_pc]);

View File

@@ -106,7 +106,7 @@ void Initialize(void) {
// and date into the seed. Since it is always incrementing the starting seed
// will always be different. Dont for each call of Random, or the sequence
// will no longer be random. Only needed once, here in the init.
srand(time(NULL));
srand(time(nullptr));
// Make a new window for drawing in, and it must be a color window.
// The window is full screen size, made smaller to make it more visible.
@@ -369,7 +369,7 @@ static void give_help(short help1,short help2,cDialog* parent) {
}
void give_help(short help1, short help2) {
give_help(help1, help2, NULL);
give_help(help1, help2, nullptr);
}
void give_help(short help1, short help2, cDialog& parent) {