mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:23:54 +00:00
Fix assertion fail related to NiLookAtController
This commit is contained in:
parent
5afcc56860
commit
fba0c155df
2 changed files with 3 additions and 3 deletions
|
@ -104,13 +104,13 @@ namespace Nif
|
||||||
void NiLookAtController::read(NIFStream *nif)
|
void NiLookAtController::read(NIFStream *nif)
|
||||||
{
|
{
|
||||||
Controller::read(nif);
|
Controller::read(nif);
|
||||||
data.read(nif);
|
target.read(nif);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NiLookAtController::post(NIFFile *nif)
|
void NiLookAtController::post(NIFFile *nif)
|
||||||
{
|
{
|
||||||
Controller::post(nif);
|
Controller::post(nif);
|
||||||
data.post(nif);
|
target.post(nif);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NiPathController::read(NIFStream *nif)
|
void NiPathController::read(NIFStream *nif)
|
||||||
|
|
|
@ -102,7 +102,7 @@ public:
|
||||||
class NiLookAtController : public Controller
|
class NiLookAtController : public Controller
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NiKeyframeDataPtr data;
|
NodePtr target;
|
||||||
|
|
||||||
void read(NIFStream *nif);
|
void read(NIFStream *nif);
|
||||||
void post(NIFFile *nif);
|
void post(NIFFile *nif);
|
||||||
|
|
Loading…
Reference in a new issue