Fix IQM comments refering to IQM_BYTE instead of IQM_UBYTE
This commit is contained in:
1 parent
c28fabf505
commit
f55bb272b6
2 files changed
+2
-2
No files matched your search
@@ -1056,7 +1056,7 @@ void RB_IQMSurfaceAnim( surfaceType_t *surface ) {
|
||||
for ( numWeights = 0; numWeights < 4; numWeights++ ) {
|
||||
if ( data->blendWeightsType == IQM_FLOAT )
|
||||
blendWeights[numWeights] = data->blendWeights.f[4*vtx + numWeights];
|
||||
else // IQM_BYTE
|
||||
else
|
||||
blendWeights[numWeights] = (float)data->blendWeights.b[4*vtx + numWeights] / 255.0f;
|
||||
|
||||
if ( blendWeights[numWeights] <= 0 )
|
||||
|
||||
Reference in new issue
Block a user