|
|
@ -212,7 +212,7 @@ namespace MWWorld
|
|
|
|
|
|
|
|
|
|
|
|
MWWorld::Ptr player = getPlayer();
|
|
|
|
MWWorld::Ptr player = getPlayer();
|
|
|
|
const MWMechanics::NpcStats &playerStats = player.getClass().getNpcStats(player);
|
|
|
|
const MWMechanics::NpcStats &playerStats = player.getClass().getNpcStats(player);
|
|
|
|
if (playerStats.isParalyzed() || playerStats.getKnockedDown())
|
|
|
|
if (playerStats.isParalyzed() || playerStats.getKnockedDown() || playerStats.isDead())
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
MWWorld::Ptr toActivate = MWBase::Environment::get().getWorld()->getFacedObject();
|
|
|
|
MWWorld::Ptr toActivate = MWBase::Environment::get().getWorld()->getFacedObject();
|
|
|
|