Mass replace NULL --> nullptr
(Except one instance was instead replaced with nil)
This commit is contained in:
@@ -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]);
|
||||
|
@@ -106,7 +106,7 @@ void Initialize(void) {
|
||||
// and date into the seed. Since it is always incrementing the starting seed
|
||||
// will always be different. Don’t 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) {
|
||||
|
Reference in New Issue
Block a user