forked from teamnwah/openmw-tes3coop
components/nif/base.hpp now uses the templated get() function
This commit is contained in:
parent
9909c4abad
commit
ad609bff78
1 changed files with 6 additions and 6 deletions
|
@ -36,12 +36,12 @@ public:
|
||||||
{
|
{
|
||||||
next.read(nif);
|
next.read(nif);
|
||||||
|
|
||||||
flags = nif->getUShort();
|
flags = nif->get<unsigned short>();
|
||||||
|
|
||||||
frequency = nif->getFloat();
|
frequency = nif->get<float>();
|
||||||
phase = nif->getFloat();
|
phase = nif->get<float>();
|
||||||
timeStart = nif->getFloat();
|
timeStart = nif->get<float>();
|
||||||
timeStop = nif->getFloat();
|
timeStop = nif->get<float>();
|
||||||
|
|
||||||
target.read(nif);
|
target.read(nif);
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ public:
|
||||||
|
|
||||||
void read(NIFStream *nif)
|
void read(NIFStream *nif)
|
||||||
{
|
{
|
||||||
name = nif->getString();
|
name = nif->get<std::string>();
|
||||||
Controlled::read(nif);
|
Controlled::read(nif);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue