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);
|
||||
|
||||
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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue