mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 20:42:17 +00:00
Merge branch 'master' of https://github.com/EQEmu/Server into bots_updater
This commit is contained in:
commit
4a61558de8
3 files changed
+13
-7
No files matched your search
+2
-2
@@ -1419,11 +1419,11 @@ bool Mob::CanUseAlternateAdvancementRank(AA::Rank *rank) {
|
||||
}
|
||||
|
||||
if(IsClient()) {
|
||||
if(!(CastToClient()->GetPP().expansions & (1 << (rank->expansion - 1)))) {
|
||||
if(rank->expansion && !(CastToClient()->GetPP().expansions & (1 << (rank->expansion - 1)))) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if(!(RuleI(World, ExpansionSettings) & (1 << (rank->expansion - 1)))) {
|
||||
if(rank->expansion && !(RuleI(World, ExpansionSettings) & (1 << (rank->expansion - 1)))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user