1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 03:39:14 +00:00
OpenMW/apps/openmw/mwmechanics/actorutil.hpp
dteviot 10eabc9d51 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.
2015-09-11 18:43:06 +12:00

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