mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:49:56 +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.
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
|