mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 15:15:40 +00:00
fix parenthesis error
This commit is contained in:
parent
e7eb912eaa
commit
8ea5978093
|
@ -581,7 +581,7 @@ static bool IsDynamicModel(const UINT32 *data)
|
|||
unsigned numVerts = (data[0]&0x40 ? 4 : 3);
|
||||
// Deduct number of reused verts
|
||||
numVerts -= sharedVerts[data[0]&0xf];
|
||||
done = data[1] & 4 > 0;
|
||||
done = (data[1] & 4) > 0;
|
||||
// Skip header and vertices to next polygon
|
||||
data += 7 + numVerts * 4;
|
||||
}
|
||||
|
|
|
@ -753,7 +753,7 @@ struct VBORef *CLegacy3D::CacheModel(ModelCache *Cache, int lutIdx, UINT16 texOf
|
|||
bool validPoly = (P.header[0] & 0x300) != 0x300;
|
||||
|
||||
// Obtain basic polygon parameters
|
||||
done = P.header[1] & 4 > 0; // last polygon?
|
||||
done = (P.header[1] & 4) > 0; // last polygon?
|
||||
P.numVerts = (P.header[0]&0x40)?4:3;
|
||||
|
||||
// Texture data
|
||||
|
|
Loading…
Reference in a new issue