mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
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.
13 lines
203 B
C++
13 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
|