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

moveref
Arthur Moore 10 years ago
parent 9909c4abad
commit ad609bff78

@ -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…
Cancel
Save