mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[8868] Remove access to low level threat hacks from scripts.
Not need after force reaction fix.
This commit is contained in:
parent
e6efe02020
commit
4802efa090
2 changed files with 2 additions and 4 deletions
|
|
@ -206,10 +206,8 @@ class MANGOS_DLL_SPEC ThreatManager
|
|||
|
||||
void setDirty(bool pDirty) { iThreatContainer.setDirty(pDirty); }
|
||||
|
||||
// Don't must be used for explcit modify threat values in iterator return pointers
|
||||
// Don't must be used for explicit modify threat values in iterator return pointers
|
||||
ThreatList const& getThreatList() const { return iThreatContainer.getThreatList(); }
|
||||
//FIXME: currently used in some known script hacks, but expected as non needed
|
||||
ThreatContainer& getOnlineContainer() { return iThreatContainer; }
|
||||
private:
|
||||
HostileReference* iCurrentVictim;
|
||||
Unit* iOwner;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8867"
|
||||
#define REVISION_NR "8868"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue