mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10118] Check gameobject scale at loading (strict DB error filter)
This let avoid check scale value at it
This commit is contained in:
parent
969986a596
commit
cd0bbabf9a
3 changed files with 9 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue