openmw-tes3coop/apps/openmw/mwmechanics/actorutil.cpp
2015-08-21 21:12:39 +12:00

12 lines
232 B
C++

#include "actorutil.hpp"
#include "../mwbase/world.hpp"
#include "../mwbase/environment.hpp"
namespace MWMechanics
{
MWWorld::Ptr getPlayer()
{
return MWBase::Environment::get().getWorld()->getPlayerPtr();
}
}