Fixed the unary minus bug reported by elvman.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@922 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
5f25e2100b
commit
7c965509aa
|
@ -714,7 +714,7 @@ bool COBJMeshFileLoader::retrieveVertexIndices(c8* pVertexData, s32* pIdx, const
|
|||
// if no number was found index will become 0 and later on -1 by decrement
|
||||
if (word[0]=='-')
|
||||
{
|
||||
pIdx[idxType] = -core::strtol10(word+1,0);
|
||||
pIdx[idxType] = -1*core::strtol10(word+1,0);
|
||||
switch (idxType)
|
||||
{
|
||||
case 0:
|
||||
|
|
Loading…
Reference in New Issue