forked from mirror/openmw-tes3mp
23 lines
301 B
C++
23 lines
301 B
C++
|
|
||
|
#include "doingphysics.hpp"
|
||
|
|
||
|
namespace MWWorld
|
||
|
{
|
||
|
int DoingPhysics::sCounter = 0;
|
||
|
|
||
|
DoingPhysics::DoingPhysics()
|
||
|
{
|
||
|
++sCounter;
|
||
|
}
|
||
|
|
||
|
DoingPhysics::~DoingPhysics()
|
||
|
{
|
||
|
--sCounter;
|
||
|
}
|
||
|
|
||
|
bool DoingPhysics::isDoingPhysics()
|
||
|
{
|
||
|
return sCounter>0;
|
||
|
}
|
||
|
}
|