mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 13:53:51 +00:00
bugfix
This commit is contained in:
parent
2d84f7d33d
commit
12d8b4e0f8
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue