forked from teamnwah/openmw-tes3coop
10eabc9d51
As pointed out by Scrawl, fixes compiler error if getPlayer() is called before MWWorld::Ptr is defined, because getPlayer() returns a Ptr by value.
12 lines
203 B
C++
12 lines
203 B
C++
#ifndef OPENMW_MWMECHANICS_ACTORUTIL_H
|
|
#define OPENMW_MWMECHANICS_ACTORUTIL_H
|
|
|
|
#include "../mwworld/ptr.hpp"
|
|
|
|
namespace MWMechanics
|
|
{
|
|
MWWorld::Ptr getPlayer();
|
|
bool isPlayerInCombat();
|
|
}
|
|
|
|
#endif
|