mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
Scripts: fixed build
This commit is contained in:
@@ -103,7 +103,7 @@ enum Texts
|
||||
SAY_PLAYER_KILL = 3
|
||||
};
|
||||
|
||||
class NPCEntryPred : public std::unary_function<Unit*, bool>
|
||||
class NPCEntryPred
|
||||
{
|
||||
public:
|
||||
NPCEntryPred(uint32 entry) : _entry(entry) { }
|
||||
|
||||
@@ -102,7 +102,7 @@ class boss_urom : public CreatureScript
|
||||
for (uint8 i = 0; i < 3; ++i)
|
||||
group[i] = i;
|
||||
|
||||
std::random_shuffle(group, group + 3);
|
||||
Trinity::Containers::RandomShuffle(group);
|
||||
}
|
||||
|
||||
void Initialize()
|
||||
|
||||
Reference in New Issue
Block a user