mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 08:16:08 +00:00
refactor(Core/Tools): remove ACE from tools (#3351)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "DBC.h"
|
||||
#include "Define.h"
|
||||
|
||||
DBC::DBC( FILE* stream ) : StringBlock(NULL), StringBlockSize(0), IsFaulty(true)
|
||||
DBC::DBC( FILE* stream ) : StringBlock(nullptr), StringBlockSize(0), IsFaulty(true)
|
||||
{
|
||||
char magic[5];
|
||||
uint32 count = 0;
|
||||
@@ -72,5 +72,5 @@ Record* DBC::GetRecordById( int id )
|
||||
for (std::vector<Record*>::iterator itr = Records.begin(); itr != Records.end(); ++itr)
|
||||
if ((*itr)->Values[0] == id)
|
||||
return *itr;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user