mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
fix compiling
This commit is contained in:
parent
8f00f1601c
commit
5ba37ff7d6
@ -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
|
||||
};
|
||||
|
||||
|
@ -35,7 +35,7 @@ void CDDeletionRestrictionsTable::LoadValuesFromDatabase() {
|
||||
}
|
||||
}
|
||||
}
|
||||
entry.checkType = static_cast<eDeletionRestrictionsCheckType>(tableData.getIntField("checkType", 6));
|
||||
entry.checkType = static_cast<eDeletionRestrictionsCheckType>(tableData.getIntField("checkType", 6)); // MAX
|
||||
|
||||
entries.push_back(entry);
|
||||
tableData.nextRow();
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user