NULL to nullptr

This commit is contained in:
Arthur Ice
2013-05-04 18:06:58 -07:00
parent e1c2657b11
commit 7560b6b0a7
216 changed files with 4151 additions and 4151 deletions
+4 -4
View File
@@ -13,9 +13,9 @@ string GetToken(uchar *&Buffer, int &Position);
Zonv4Loader::Zonv4Loader()
{
this->buffer = NULL;
this->buffer = nullptr;
this->buf_len = -1;
this->archive = NULL;
this->archive = nullptr;
this->status = 0;
}
@@ -94,7 +94,7 @@ int Zonv4Loader::Open(char *base_path, char *zone_name, Archive *archive)
}
}
this->datloader.Open(NULL, ZonName, archive);
this->datloader.Open(nullptr, ZonName, archive);
this->model_data.zone_model = datloader.model_data.zone_model;
@@ -118,7 +118,7 @@ int Zonv4Loader::Open(char *base_path, char *zone_name, Archive *archive)
++str;
}
if(model_loaders[i].Open(NULL, tmp, archive))
if(model_loaders[i].Open(nullptr, tmp, archive))
{
this->model_data.models[i] = new Model;
this->model_data.models[i]->vert_count = model_loaders[i].model_data.zone_model->vert_count;