mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 22:09:42 +00:00
NIFStream: use the right function for readArray
This commit is contained in:
parent
4f549c267f
commit
e8f9a918ae
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ namespace Nif
|
|||
template <class T, size_t size>
|
||||
void readArray(std::array<T, size>& arr)
|
||||
{
|
||||
readDynamicBufferOfType<T>(mStream, arr.data(), size);
|
||||
readBufferOfType<T, size>(mStream, arr.data());
|
||||
}
|
||||
|
||||
// DEPRECATED: Use read() or get() whenever relevant
|
||||
|
|
Loading…
Reference in a new issue