Merge branch 'fixes'

feature/prepare-cross-merge
Ulukyn 4 years ago committed by kaetemi
parent 72d29ef8f6
commit d6dcd13938
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -1153,7 +1153,7 @@ void sAggroGain(TDataSetRow playerBot, TDataSetRow targetBot)
CAIGainAggroMsg msg(targetBot, playerBot, false);
msg.send("EGS");
if (entity->getActionFlags() & RYZOMACTIONFLAGS::InWater)
if (entity && entity->getRyzomType()==RYZOMID::player && (entity->getActionFlags() & RYZOMACTIONFLAGS::InWater))
return;
CAIEntityPhysical *botEntity = CAIEntityPhysicalLocator::getInstance()->getEntity(targetBot);

Loading…
Cancel
Save