- fixed compilation warning reported by MSVC

src\r_data\models\models_ue1.cpp(103): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
This commit is contained in:
alexey.lysiuk 2018-08-03 16:29:13 +03:00
parent eeec943cc0
commit 9d2b7e560b

View file

@ -100,7 +100,7 @@ void FUE1Model::LoadGeometry()
// convert padded XYZ16
Vert.Pos = FVector3(dxverts[j+i*numVerts].x,
dxverts[j+i*numVerts].z,
-dxverts[j+i*numVerts].y);
(float)-dxverts[j+i*numVerts].y);
}
else
{