Utility/OBJParser: Fix mistake

Former-commit-id: a3bbd969e5fddb00011b3343356189df3864c615 [formerly c07e85fcbffe985fa7ac8f11e18160c1440306cc]
Former-commit-id: f218dce6fd6606ffc60d884914b31012d2e568b8
This commit is contained in:
Lynix 2016-07-08 08:38:34 +02:00
parent 71b070185a
commit 9aac187589
1 changed files with 3 additions and 3 deletions

View File

@ -125,9 +125,9 @@ namespace Nz
for (unsigned int i = 0; i < vertexCount; ++i)
{
int offset;
std::size_t n = 0;
std::size_t p = 0;
std::size_t t = 0;
int n = 0;
int p = 0;
int t = 0;
if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3)
{