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
+3 -3
View File
@@ -581,7 +581,7 @@ void Parser::SendCommands(const char * event, uint32 npcid, NPC* npcmob, Mob* mo
if(mob && mob->IsClient())
quest_manager.StartQuest(npcmob, mob->CastToClient());
else
quest_manager.StartQuest(npcmob, NULL);
quest_manager.StartQuest(npcmob, nullptr);
while (listIt2 != p->Event.end())
{
pp = *listIt2;
@@ -615,7 +615,7 @@ void Parser::scanformat(char *string, const char *format, char arg[10][1024])
for(;;)
{
// increment while they're the same (and not NULL)
// increment while they're the same (and not nullptr)
while(*format && *string && *format == *string) {
format++;
string++;
@@ -1150,7 +1150,7 @@ printf("GetVar(%s) = '%s'\n", varname.c_str(), p->value.c_str());
iterator++;
}
checkfirst="";
checkfirst = "NULL";
checkfirst = "nullptr";
return checkfirst;
}