mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 21:40:03 +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)
|
void MWWorld::Action::execute (const Ptr& actor)
|
||||||
{
|
{
|
||||||
if (!mSoundId.empty() && executeImp (actor))
|
if (!mSoundId.empty() & executeImp (actor))
|
||||||
{
|
{
|
||||||
if (mKeepSound && actor.getRefData().getHandle()=="player")
|
if (mKeepSound && actor.getRefData().getHandle()=="player")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user