ObjLoading: Fix not increasing head on reading uncompressed ipak data

This commit is contained in:
Jan 2020-02-09 00:04:21 +01:00
parent 28bc614a6d
commit 345687125f

View File

@ -159,6 +159,8 @@ bool IPakEntryReadStream::ProcessCommand(const size_t commandSize, const bool co
memcpy_s(&m_file_buffer[m_file_head], m_file_length - m_file_head, &m_chunk_buffer[m_pos - m_buffer_start_pos],
commandSize);
m_file_head += commandSize;
}
return true;