Case statement not terminated properly

missing break;

It caused a start-up error, besides being totally wrong.

My bad :(
This commit is contained in:
Charles A Edwards 2015-03-25 10:52:52 +00:00
parent cebb3244a0
commit 347fb87b3d

View File

@ -7577,6 +7577,7 @@ 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:
{
@ -7590,6 +7591,7 @@ 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;