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

@@ -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. 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.