diff options
| author | Vincent-Michael <Vincent_Michael@gmx.de> | 2012-05-26 23:00:54 +0200 |
|---|---|---|
| committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2012-05-26 23:14:57 +0200 |
| commit | ab77e597b179c864c6c2f992dfd1486245df0090 (patch) | |
| tree | 50e1e6656747a4160dda5965126203fa592bb6d9 /src/server/game/Entities/Object | |
| parent | 593774f9c5adcf0bc6f6eb5a4e580dd8d630d34c (diff) | |
Add function for SetObjectScale
Author: NoFantasy
Source: Mangos
Diffstat (limited to 'src/server/game/Entities/Object')
| -rwxr-xr-x | src/server/game/Entities/Object/Object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Entities/Object/Object.h b/src/server/game/Entities/Object/Object.h index 3693f683b24..64b780bb6c3 100755 --- a/src/server/game/Entities/Object/Object.h +++ b/src/server/game/Entities/Object/Object.h @@ -137,6 +137,8 @@ class Object uint32 GetEntry() const { return GetUInt32Value(OBJECT_FIELD_ENTRY); } void SetEntry(uint32 entry) { SetUInt32Value(OBJECT_FIELD_ENTRY, entry); } + void SetObjectScale(float scale) { SetFloatValue(OBJECT_FIELD_SCALE_X, scale); } + TypeID GetTypeId() const { return m_objectTypeId; } bool isType(uint16 mask) const { return (mask & m_objectType); } |
