actorutil.hpp includes mwworld/ptr.hpp

As pointed out by Scrawl, fixes compiler error if getPlayer() is called before MWWorld::Ptr is defined, because getPlayer() returns a Ptr by value.
sceneinput
dteviot 9 years ago
parent 6f97187bb6
commit 10eabc9d51

@ -1,10 +1,7 @@
#ifndef OPENMW_MWMECHANICS_ACTORUTIL_H
#define OPENMW_MWMECHANICS_ACTORUTIL_H
namespace MWWorld
{
class Ptr;
}
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{

Loading…
Cancel
Save