forked from mirror/openmw-tes3mp
Ouch, I used && instead of &, this broke actions without a sound
This commit is contained in:
parent
a5c8d5748f
commit
df8e502f8c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ MWWorld::Action::~Action() {}
|
|||
|
||||
void MWWorld::Action::execute (const Ptr& actor)
|
||||
{
|
||||
if (!mSoundId.empty() && executeImp (actor))
|
||||
if (!mSoundId.empty() & executeImp (actor))
|
||||
{
|
||||
if (mKeepSound && actor.getRefData().getHandle()=="player")
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue