1
0
Fork 0
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:
Alexei Kotov 2023-07-26 04:28:16 +03:00
parent 4f549c267f
commit e8f9a918ae

View file

@ -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