diff options
author | ariel- <ariel-@users.noreply.github.com> | 2018-03-15 02:16:17 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2018-03-15 02:21:48 -0300 |
commit | a60728b3d2e145fa4b8dc1818bab9dcc91fc4c0f (patch) | |
tree | fab58c6d6895d8cd4594d956d399f46d95d726f2 /src/server/game/Conditions/ConditionMgr.cpp | |
parent | ddd60a948c432aaac1d9a9ff05c9cf22ada35813 (diff) |
Core/Conditions: reserve sourcetype value
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.cpp')
-rw-r--r-- | src/server/game/Conditions/ConditionMgr.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index b6881990567..a4eaf47a07f 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -1754,12 +1754,17 @@ bool ConditionMgr::isSourceTypeValid(Condition* cond) const } case CONDITION_SOURCE_TYPE_TERRAIN_SWAP: { - TC_LOG_ERROR("sql.sql", "CONDITION_SOURCE_TYPE_TERRAIN_SWAP: is only for 6.x branch, skipped"); + TC_LOG_ERROR("sql.sql", "CONDITION_SOURCE_TYPE_TERRAIN_SWAP: is only for master branch, skipped"); return false; } case CONDITION_SOURCE_TYPE_PHASE: { - TC_LOG_ERROR("sql.sql", "CONDITION_SOURCE_TYPE_PHASE: is only for 6.x branch, skipped"); + TC_LOG_ERROR("sql.sql", "CONDITION_SOURCE_TYPE_PHASE: is only for master branch, skipped"); + return false; + } + case CONDITION_SOURCE_TYPE_GRAVEYARD: + { + TC_LOG_ERROR("sql.sql", "CONDITION_SOURCE_TYPE_GRAVEYARD: is only for master branch, skipped"); return false; } case CONDITION_SOURCE_TYPE_GOSSIP_MENU: |