fix(font): specify 'std' namespace when accessing floor() to avoid double function

This commit is contained in:
superp00t 2024-07-21 18:30:33 -04:00
parent 3f8055ea56
commit 5f3eadea1e

View File

@ -48,8 +48,8 @@ void TEXTLINETEXTURE::WriteGeometry(CGxVertexPCT* buf, const CImVector& fontColo
if (a7) {
C3Vector shadowTranslation = {
viewTranslation.x + floor(ScreenToPixelWidth(0, shadowOffset.x)),
viewTranslation.y + floor(ScreenToPixelHeight(0, shadowOffset.y)),
viewTranslation.x + std::floor(ScreenToPixelWidth(0, shadowOffset.x)),
viewTranslation.y + std::floor(ScreenToPixelHeight(0, shadowOffset.y)),
viewTranslation.z
};