Case statement not terminated properly
missing break; It caused a start-up error, besides being totally wrong. My bad :(
This commit is contained in:
parent
cebb3244a0
commit
347fb87b3d
@ -7576,7 +7576,8 @@ bool PlayerCondition::IsValid(uint16 entry, ConditionType condition, uint32 valu
|
||||
{
|
||||
sLog.outErrorDb("Creature in range condition (entry %u, type %u) has an invalid value in value2. (Range %u must be greater than 0), skipping.", entry, condition, value2);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case CONDITION_GAMEOBJECT_IN_RANGE:
|
||||
{
|
||||
@ -7589,7 +7590,8 @@ bool PlayerCondition::IsValid(uint16 entry, ConditionType condition, uint32 valu
|
||||
{
|
||||
sLog.outErrorDb("Game object in range condition (entry %u, type %u) has an invalid value in value2 (range). (Range %u must be greater than 0), skipping.", entry, condition, value2);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case CONDITION_NONE:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user