1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-21 09:39:56 +00:00

Fix assertion fail related to NiLookAtController

This commit is contained in:
Andrei Kortunov 2018-06-09 17:07:38 +04:00
parent 5afcc56860
commit fba0c155df
2 changed files with 3 additions and 3 deletions

View File

@ -104,13 +104,13 @@ namespace Nif
void NiLookAtController::read(NIFStream *nif)
{
Controller::read(nif);
data.read(nif);
target.read(nif);
}
void NiLookAtController::post(NIFFile *nif)
{
Controller::post(nif);
data.post(nif);
target.post(nif);
}
void NiPathController::read(NIFStream *nif)

View File

@ -102,7 +102,7 @@ public:
class NiLookAtController : public Controller
{
public:
NiKeyframeDataPtr data;
NodePtr target;
void read(NIFStream *nif);
void post(NIFFile *nif);