1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-20 19:39:41 +00:00

Issue #314: Playing drink sound when using a potion

This commit is contained in:
Marc Zinnschlag 2012-07-27 12:27:22 +02:00
parent 8b08928dae
commit 0da3f2cb59

View file

@ -157,8 +157,12 @@ namespace MWClass
MWWorld::Ptr actor = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();
return boost::shared_ptr<MWWorld::Action> (
boost::shared_ptr<MWWorld::Action> action (
new MWWorld::ActionApply (actor, ref->base->mId));
action->setSound ("Drink");
return action;
}
MWWorld::Ptr