diff --git a/src/common/fonts/v_font.cpp b/src/common/fonts/v_font.cpp index 50db74074..3f64b1625 100644 --- a/src/common/fonts/v_font.cpp +++ b/src/common/fonts/v_font.cpp @@ -152,7 +152,6 @@ FFont *V_GetFont(const char *name, const char *fontlumpname) { FFont *CreateSinglePicFont(const char *name); font = CreateSinglePicFont (name); - if (translationsLoaded) font->LoadTranslations(); return font; } } diff --git a/src/common/textures/gametexture.cpp b/src/common/textures/gametexture.cpp index caf5d4357..3ab74a5c3 100644 --- a/src/common/textures/gametexture.cpp +++ b/src/common/textures/gametexture.cpp @@ -443,7 +443,7 @@ float FTexCoordInfo::RowOffset(float rowoffset) const float FTexCoordInfo::TextureOffset(float textureoffset) const { - float scale = fabs(mScale.X); + float scale = fabsf(mScale.X); if (scale == 1.f || mWorldPanning) return textureoffset; else return textureoffset / scale; } @@ -458,7 +458,7 @@ float FTexCoordInfo::TextureAdjustWidth() const { if (mWorldPanning) { - float tscale = fabs(mTempScale.X); + float tscale = fabsf(mTempScale.X); if (tscale == 1.f) return (float)mRenderWidth; else return mWidth / fabs(tscale); }