mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 05:43:12 +01:00
Scripts: Fixed compile
This commit is contained in:
@@ -244,11 +244,13 @@ const Position PosWeavers[MAX_WEAVERS] =
|
||||
};
|
||||
|
||||
// predicate function to select not charmed target
|
||||
struct NotCharmedTargetSelector : public std::unary_function<Unit *, bool> {
|
||||
struct NotCharmedTargetSelector : public std::unary_function<Unit*, bool>
|
||||
{
|
||||
NotCharmedTargetSelector() {}
|
||||
|
||||
bool operator() (const Unit *pTarget) {
|
||||
return (!pTarget->isCharmed());
|
||||
bool operator()(Unit const* target) const
|
||||
{
|
||||
return !target->isCharmed();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user