Mass replace NULL --> nullptr
(Except one instance was instead replaced with nil)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
bool All_Done = false;
|
||||
sf::Event event;
|
||||
sf::RenderWindow mainPtr;
|
||||
cTown* town = NULL;
|
||||
cTown* town = nullptr;
|
||||
bool diff_depth_ok = false,mouse_button_held = false,editing_town = false;
|
||||
short cur_viewing_mode = 0;
|
||||
short cen_x, cen_y;
|
||||
@@ -124,7 +124,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.
|
||||
|
Reference in New Issue
Block a user