mirror of
https://github.com/OpenMW/openmw.git
synced 2026-02-06 18:58:29 +00:00
15 lines
330 B
C++
15 lines
330 B
C++
#include <components/esm/cellcommon.hpp>
|
|
#include <components/esm3/loadcell.hpp>
|
|
#include <components/esm4/loadcell.hpp>
|
|
|
|
namespace ESM
|
|
{
|
|
const ESM::CellCommon* CellVariant::getCommon() const
|
|
{
|
|
auto cell3 = getEsm3();
|
|
if (cell3)
|
|
return cell3;
|
|
else
|
|
return getEsm4();
|
|
}
|
|
}
|