diff --git a/dCommon/dEnums/eDeletionRestrictionsCheckType.h b/dCommon/dEnums/eDeletionRestrictionsCheckType.h index adda09aa..af4f18ea 100644 --- a/dCommon/dEnums/eDeletionRestrictionsCheckType.h +++ b/dCommon/dEnums/eDeletionRestrictionsCheckType.h @@ -8,8 +8,8 @@ enum class eDeletionRestrictionsCheckType : uint32_t { EXCLUDE_LOTS, ANY_OF_THESE, ALL_OF_THESE, - ZONE, - RESTRICTED, + WHILE_IN_ZONE, + ALWAYS_RESTRICTED, MAX }; diff --git a/dDatabase/CDClientDatabase/CDClientTables/CDDeletionRestrictionsTable.cpp b/dDatabase/CDClientDatabase/CDClientTables/CDDeletionRestrictionsTable.cpp index 8cdc9ec8..1e7f87c2 100644 --- a/dDatabase/CDClientDatabase/CDClientTables/CDDeletionRestrictionsTable.cpp +++ b/dDatabase/CDClientDatabase/CDClientTables/CDDeletionRestrictionsTable.cpp @@ -35,7 +35,7 @@ void CDDeletionRestrictionsTable::LoadValuesFromDatabase() { } } } - entry.checkType = static_cast(tableData.getIntField("checkType", 6)); + entry.checkType = static_cast(tableData.getIntField("checkType", 6)); // MAX entries.push_back(entry); tableData.nextRow(); diff --git a/dDatabase/CDClientDatabase/CDClientTables/CMakeLists.txt b/dDatabase/CDClientDatabase/CDClientTables/CMakeLists.txt index f4551646..300c54b6 100644 --- a/dDatabase/CDClientDatabase/CDClientTables/CMakeLists.txt +++ b/dDatabase/CDClientDatabase/CDClientTables/CMakeLists.txt @@ -38,4 +38,6 @@ set(DDATABASE_CDCLIENTDATABASE_CDCLIENTTABLES_SOURCES "CDActivitiesTable.cpp" "CDSkillBehaviorTable.cpp" "CDTamingBuildPuzzleTable.cpp" "CDVendorComponentTable.cpp" - "CDZoneTableTable.cpp" PARENT_SCOPE) + "CDZoneTableTable.cpp" + "CDDeletionRestrictionsTable.cpp" +PARENT_SCOPE)