1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 13:53:51 +00:00
This commit is contained in:
gus 2013-10-28 18:13:07 +01:00
parent 2d84f7d33d
commit 12d8b4e0f8

View file

@ -31,7 +31,7 @@ namespace MWMechanics
bool AiCombat::execute (const MWWorld::Ptr& actor) bool AiCombat::execute (const MWWorld::Ptr& actor)
{ {
const MWWorld::Ptr target = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();//MWBase::Environment::get().getWorld()->getPtr(mTargetId, false); const MWWorld::Ptr target = MWBase::Environment::get().getWorld()->getPtr(mTargetId, false);
if(actor.getTypeName() == typeid(ESM::NPC).name()) if(actor.getTypeName() == typeid(ESM::NPC).name())
{ {