mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 18:18:52 +00:00
19 lines
308 B
C++
19 lines
308 B
C++
#include "environment.hpp"
|
|
|
|
#include <cassert>
|
|
|
|
#include <components/resource/resourcesystem.hpp>
|
|
|
|
MWBase::Environment* MWBase::Environment::sThis = nullptr;
|
|
|
|
MWBase::Environment::Environment()
|
|
{
|
|
assert(sThis == nullptr);
|
|
sThis = this;
|
|
}
|
|
|
|
MWBase::Environment::~Environment()
|
|
{
|
|
sThis = nullptr;
|
|
}
|