Add function for SetObjectScale

Author: NoFantasy
Source: Mangos
This commit is contained in:
Vincent-Michael committed 2012-05-26 23:14:57 +02:00
1 parent 593774f9c5
commit ab77e597b1
24 files changed
+34 -32

No files matched your search

+1 -1
View File
@@ -718,7 +718,7 @@ public:
(ChatHandler(player)).PSendSysMessage(LANG_YOURS_SIZE_CHANGED, handler->GetNameLink().c_str(), Scale);
}
target->SetFloatValue(OBJECT_FIELD_SCALE_X, Scale);
target->SetObjectScale(Scale);
return true;
}