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
+2 -2
View File
@@ -40,14 +40,14 @@ public:
// Produce a const singleton
static const WorldConfig *get() {
if (_world_config == NULL)
if (_world_config == nullptr)
LoadConfig();
return(_world_config);
}
// Load the config
static bool LoadConfig() {
if (_world_config != NULL)
if (_world_config != nullptr)
delete _world_config;
_world_config=new WorldConfig;
_config=_world_config;