mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10147] Dynamic objects not have interactive size.
This commit is contained in:
parent
52e4c0ab17
commit
790e3b85bd
2 changed files with 6 additions and 1 deletions
|
|
@ -51,6 +51,11 @@ class DynamicObject : public WorldObject
|
||||||
bool IsHostileTo(Unit const* unit) const;
|
bool IsHostileTo(Unit const* unit) const;
|
||||||
bool IsFriendlyTo(Unit const* unit) const;
|
bool IsFriendlyTo(Unit const* unit) const;
|
||||||
|
|
||||||
|
float GetObjectBoundingRadius() const // overwrite WorldObject version
|
||||||
|
{
|
||||||
|
return 0.0f; // dynamic object not have real interact size
|
||||||
|
}
|
||||||
|
|
||||||
bool isVisibleForInState(Player const* u, WorldObject const* viewPoint, bool inVisibleList) const;
|
bool isVisibleForInState(Player const* u, WorldObject const* viewPoint, bool inVisibleList) const;
|
||||||
|
|
||||||
void Say(int32 textId, uint32 language, uint64 TargetGuid) { MonsterSay(textId,language,TargetGuid); }
|
void Say(int32 textId, uint32 language, uint64 TargetGuid) { MonsterSay(textId,language,TargetGuid); }
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10146"
|
#define REVISION_NR "10147"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue