1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Ouch, I used && instead of &, this broke actions without a sound

This commit is contained in:
scrawl 2013-02-17 02:52:49 +01:00
parent a5c8d5748f
commit df8e502f8c

View File

@ -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")
{