mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 15:46:24 +00:00
refactor(Core/Misc): rename some variables that can be confusing (#10592)
This commit is contained in:
@@ -1929,8 +1929,8 @@ bool ConditionMgr::isConditionTypeValid(Condition* cond)
|
||||
}
|
||||
case CONDITION_MAPID:
|
||||
{
|
||||
MapEntry const* me = sMapStore.LookupEntry(cond->ConditionValue1);
|
||||
if (!me)
|
||||
MapEntry const* mapId = sMapStore.LookupEntry(cond->ConditionValue1);
|
||||
if (!mapId)
|
||||
{
|
||||
LOG_ERROR("sql.sql", "Map condition has non existing map ({}), skipped", cond->ConditionValue1);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user