1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 18:18:52 +00:00
OpenMW/apps/openmw/mwbase/environment.cpp
2022-09-30 02:15:21 +02:00

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;
}