[10118] Check gameobject scale at loading (strict DB error filter)

This let avoid check scale value at it
This commit is contained in:
VladimirMangos 2010-06-29 10:55:19 +04:00
parent 969986a596
commit cd0bbabf9a
3 changed files with 9 additions and 4 deletions

View file

@ -124,9 +124,6 @@ void Object::_Create( uint32 guidlow, uint32 entry, HighGuid guidhigh )
void Object::SetObjectScale(float newScale)
{
if (newScale <= 0.0f)
newScale = DEFAULT_OBJECT_SCALE;
SetFloatValue(OBJECT_FIELD_SCALE_X, newScale);
}