From 85d7084e85c1779201b025887c45c5d46e38038f Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 31 Oct 2009 17:34:35 -0700 Subject: *Fix usage of grid removal state, thanks Sisif --HG-- branch : trunk --- src/shared/Database/DBCFileLoader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/shared/Database/DBCFileLoader.h') diff --git a/src/shared/Database/DBCFileLoader.h b/src/shared/Database/DBCFileLoader.h index ef29af84bc1..a97ab4d60fa 100644 --- a/src/shared/Database/DBCFileLoader.h +++ b/src/shared/Database/DBCFileLoader.h @@ -89,11 +89,11 @@ class DBCFileLoader Record getRecord(size_t id); /// Get begin iterator over records - uint32 GetNumRows() const { return recordCount;} - uint32 GetRowSize() const { return recordSize;} + uint32 GetNumRows() const { return recordCount; } + uint32 GetRowSize() const { return recordSize; } uint32 GetCols() const { return fieldCount; } uint32 GetOffset(size_t id) const { return (fieldsOffset != NULL && id < fieldCount) ? fieldsOffset[id] : 0; } - bool IsLoaded() {return (data!=NULL);} + bool IsLoaded() { return data != NULL; } char* AutoProduceData(const char* fmt, uint32& count, char**& indexTable, uint32 sqlRecordCount, uint32 sqlHighestIndex, char *& sqlDataTable); char* AutoProduceStrings(const char* fmt, char* dataTable); static uint32 GetFormatRecordSize(const char * format, int32 * index_pos = NULL); -- cgit v1.2.3