Fixed an issue with AG_BATTLE and AG_TAMING (#4006)
* Added a missing assignment for achievement monster targets. Thanks to @teededung and @Lemongrass3110!
This commit is contained in:
parent
ed0e068c73
commit
54ac2ae132
@ -164,6 +164,8 @@ uint64 AchievementDatabase::parseBodyNode(const YAML::Node &node){
|
|||||||
if( !this->mobexists( mob_id ) ){
|
if( !this->mobexists( mob_id ) ){
|
||||||
this->achievement_mobs.push_back( mob_id );
|
this->achievement_mobs.push_back( mob_id );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
target->mob = mob_id;
|
||||||
}else{
|
}else{
|
||||||
if( !targetExists ){
|
if( !targetExists ){
|
||||||
target->mob = 0;
|
target->mob = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user