Skip to content
Permalink
Browse files

Fixed an issue with AG_BATTLE and AG_TAMING (#4006)

* Added a missing assignment for achievement monster targets.
Thanks to @teededung and @Lemongrass3110!
  • Loading branch information...
aleos89 committed Mar 9, 2019
1 parent ed0e068 commit 54ac2ae1327040289b8bc566e2b221a259144e4c
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/map/achievement.cpp
@@ -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;

1 comment on commit 54ac2ae

@PhalanxRampage

This comment has been minimized.

Copy link

PhalanxRampage commented on 54ac2ae Mar 13, 2019

[ PRE-RE ]
This modification is making the map-server crash whenever someone kills a poring, poporing, drops and marin.

Would it be right to use it this way?
#ifdef RENEWAL
target->mob = mob_id;
#endif

Please sign in to comment.
You can’t perform that action at this time.