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:
Aleos 2019-03-09 14:17:11 -05:00 committed by GitHub
parent ed0e068c73
commit 54ac2ae132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,6 +164,8 @@ uint64 AchievementDatabase::parseBodyNode(const YAML::Node &node){
if( !this->mobexists( mob_id ) ){
this->achievement_mobs.push_back( mob_id );
}
target->mob = mob_id;
}else{
if( !targetExists ){
target->mob = 0;