fix(Core/Players): Removed old and invalid Player::SetInWater funct… (#9739)

* fix(Core/Players): Removed old and invalid `Player::SetInWater` function.

Updates #8729

* buildfix.
This commit is contained in:
UltraNix
2021-12-28 13:34:45 +01:00
committed by GitHub
parent f88203a73a
commit a54c84f349
6 changed files with 6 additions and 48 deletions

View File

@@ -94,19 +94,6 @@ void HostileRefMgr::setOnlineOfflineState(bool isOnline)
}
}
//=================================================
// The online / offline status is calculated and set
void HostileRefMgr::updateThreatTables()
{
HostileReference* ref = getFirst();
while (ref)
{
ref->updateOnlineStatus();
ref = ref->next();
}
}
//=================================================
// The references are not needed anymore
// tell the source to remove them from the list and free the mem

View File

@@ -59,8 +59,6 @@ public:
HostileReference* getFirst() { return ((HostileReference*) RefMgr<Unit, ThreatMgr>::getFirst()); }
void updateThreatTables();
void setOnlineOfflineState(bool isOnline);
// set state for one reference, defined by Unit