mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-11 18:37:08 +00:00
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;
|
|
}
|
|
}
|