diff --git a/src/game/Server/DBCfmt.h b/src/game/Server/DBCfmt.h index d1928bc82..c17cb27c6 100644 --- a/src/game/Server/DBCfmt.h +++ b/src/game/Server/DBCfmt.h @@ -124,7 +124,7 @@ const char SpellCastingRequirementsEntryfmt[]="dixxixi"; const char SpellCategoriesEntryfmt[]="diiiiii"; const char SpellClassOptionsEntryfmt[]="dxiiiix"; const char SpellCooldownsEntryfmt[]="diii"; -const char SpellEffectEntryfmt[]="difiiixfiiiiiifiifiiiiiiiix"; +const char SpellEffectEntryfmt[]="difiiiffiiiiiifiifiiiiiiiix"; const char SpellEquippedItemsEntryfmt[]="diii"; const char SpellInterruptsEntryfmt[]="dixixi"; const char SpellLevelsEntryfmt[]="diii"; diff --git a/src/game/Server/SQLStorages.cpp b/src/game/Server/SQLStorages.cpp index fe6ae1098..4c2563488 100644 --- a/src/game/Server/SQLStorages.cpp +++ b/src/game/Server/SQLStorages.cpp @@ -47,7 +47,6 @@ // 1 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 const char CreatureInfosrcfmt[] = "isssiiiiiiiiiiifiiiiiiiiiiffiiiffffffiiiiffffiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiis"; const char CreatureInfodstfmt[] = "isssiiiiiiiiiiifiiiiiiiiiiffiiiffffffiiiiffffiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiis"; -//const char CreatureInfodstfmt[] = "iiiiiiiiiisssiiiiiiiiiiifffiffiifiiiiiiiiiiiffiiiiiiiiiiiiiiisiiffliiiiiiiliiiiii"; // old version const char CreatureDataAddonInfofmt[] = "iiibbiis"; const char CreatureModelfmt[] = "iffbii"; const char CreatureInfoAddonInfofmt[] = "iiibbiis"; diff --git a/src/shared/DataStores/DBCFileLoader.h b/src/shared/DataStores/DBCFileLoader.h index 5abc5bde5..6d12be92b 100755 --- a/src/shared/DataStores/DBCFileLoader.h +++ b/src/shared/DataStores/DBCFileLoader.h @@ -201,11 +201,11 @@ class DBCFileLoader char* AutoProduceStringsArrayHolders(const char* fmt, char* dataTable); char* AutoProduceStrings(const char* fmt, char* dataTable, LocaleConstant loc); /** - * @brief + * @brief This works out the total amount of memory required by the types specified within the format string * * @param format * @param index_pos - * @return uint32 + * @return uint32 the total amount of memory required for all the data types */ static uint32 GetFormatRecordSize(const char* format, int32* index_pos = NULL); static uint32 GetFormatStringsFields(const char * format);