1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

components/nif/base.hpp now uses the templated get() function

This commit is contained in:
Arthur Moore 2015-01-02 01:19:34 -05:00
parent 9909c4abad
commit ad609bff78

View File

@ -36,12 +36,12 @@ public:
{
next.read(nif);
flags = nif->getUShort();
flags = nif->get<unsigned short>();
frequency = nif->getFloat();
phase = nif->getFloat();
timeStart = nif->getFloat();
timeStop = nif->getFloat();
frequency = nif->get<float>();
phase = nif->get<float>();
timeStart = nif->get<float>();
timeStop = nif->get<float>();
target.read(nif);
}
@ -81,7 +81,7 @@ public:
void read(NIFStream *nif)
{
name = nif->getString();
name = nif->get<std::string>();
Controlled::read(nif);
}
};