Skip to content

Commit

Permalink
md3filter: Fix compiling on macOS 10.11
Browse files Browse the repository at this point in the history
It broke due to the previous commit.
  • Loading branch information
zturtleman committed Sep 14, 2019
1 parent 1677924 commit 6aad562
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libmm3d/md3filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#include <string.h>
#include <limits.h>
#include <vector>
#include <array>
#include <limits>

#ifdef PLUGIN
Expand Down Expand Up @@ -1020,7 +1021,7 @@ void Md3Filter::setMeshes( MeshSectionE section, int32_t offsetMeshes, int32_t n
{
// Triangle
m_src->seek( meshPos + meshTriangleOffset );
vector<int32_t[3]> triang( meshTriangleCount );
vector<std::array<int32_t, 3>> triang( meshTriangleCount );
vector<int> tri( meshTriangleCount );
int32_t groupId = m_model->addGroup( meshName );
for ( int t = 0; t < meshTriangleCount; t++ )
Expand Down

0 comments on commit 6aad562

Please sign in to comment.