1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 16:19:41 +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);