From 9d2b7e560b7f059a9bbb78bdeb2bb532c0a8c499 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 3 Aug 2018 16:29:13 +0300 Subject: [PATCH] - 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 --- src/r_data/models/models_ue1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_data/models/models_ue1.cpp b/src/r_data/models/models_ue1.cpp index 2b763077f..f4392e54b 100644 --- a/src/r_data/models/models_ue1.cpp +++ b/src/r_data/models/models_ue1.cpp @@ -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 {