From 2962fe9f08a1a3edeb258a862b7152fc45734e87 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 18 May 2018 00:12:58 +0200 Subject: [PATCH] - silence some warnings. --- src/r_data/models/models_ue1.cpp | 12 ++++++------ src/vectors.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/r_data/models/models_ue1.cpp b/src/r_data/models/models_ue1.cpp index 28815ce7a..e07f471b9 100644 --- a/src/r_data/models/models_ue1.cpp +++ b/src/r_data/models/models_ue1.cpp @@ -115,8 +115,8 @@ void FUE1Model::LoadGeometry() // unpack coords for ( int j=0; j<3; j++ ) { - Poly.C[j].S = dpolys[i].uv[j][0]/255.; - Poly.C[j].T = dpolys[i].uv[j][1]/255.; + Poly.C[j].S = dpolys[i].uv[j][0]/255.f; + Poly.C[j].T = dpolys[i].uv[j][1]/255.f; } Poly.texNum = dpolys[i].texnum; // push @@ -130,7 +130,7 @@ void FUE1Model::LoadGeometry() for ( int j=0; j