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:
parent
a5c8d5748f
commit
df8e502f8c
@ -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…
x
Reference in New Issue
Block a user